SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 221
Search took 0.01 seconds.
Search: Posts Made By: Alex_T
Forum: Scripting Help 04/03/2019, 12:06 PM
Replies: 4
Views: 382
Posted By Alex_T
Forum: Scripting Help 04/03/2019, 11:42 AM
Replies: 4
Views: 382
Posted By Alex_T
Re: YCMD OnPlayerCommandReceived causes flags to not work.

Yeah, except the COMMAND_HIDDEN still shows the default error message.

public e_COMMAND_ERRORS:OnPlayerCommandReceived(playerid, cmdtext[], e_COMMAND_ERRORS:success)
{
switch(success) {
...
Forum: Scripting Help 04/03/2019, 11:14 AM
Replies: 4
Views: 382
Posted By Alex_T
Re: YCMD OnPlayerCommandReceived causes flags to not work.

See the problem is, is that I want to change the message I output when the command doesnt work or the person doesnt have permissions. But if I change the return to a failure the command doesnt work...
Forum: Scripting Help 04/03/2019, 10:50 AM
Replies: 4
Views: 382
Posted By Alex_T
Re: YCMD OnPlayerCommandReceived causes flags to not work.

After doing some more debugging, I found out that my commands are being called when I use them as COMMAND_OK and not as COMMAND_DENIED. Even though the player should not have access to the commands....
Forum: Scripting Help 04/03/2019, 04:09 AM
Replies: 4
Views: 382
Posted By Alex_T
YCMD OnPlayerCommandReceived causes flags to not work.

Hello, I am making it so only admins can output certain commands anyway the flag system doesnt seem to be working for me.

public e_COMMAND_ERRORS:OnPlayerCommandReceived(playerid, cmdtext[],...
Forum: Scripting Help 04/12/2018, 10:48 PM
Replies: 5
Views: 296
Posted By Alex_T
Re: Default program

Problem is tho, is that its not actually saving as default.

https://i.imgur.com/LQJyveG.gif

Link to image, on imgur. It runs more smoothly https://imgur.com/LQJyveG
Forum: Scripting Help 04/12/2018, 08:21 PM
Replies: 5
Views: 296
Posted By Alex_T
Default program

Hey, so I guess this is less of a scripting problem and more of a window problem, but I cant seem to set a default program for .pwn files. Just wondering if anyone has a simple solution.

Thanks.
Forum: Tutorials 24/07/2017, 08:09 PM
Replies: 24
Views: 26,305
Posted By Alex_T
Re: Making a custom launcher for your server(SUPER EASY)

Just wondering but would it be possible to change what username the player is connecting with through this?
Forum: Scripting Help 10/07/2017, 08:33 PM
Replies: 14
Views: 1,252
Posted By Alex_T
Re: Cannot read from file error.

It does work. Atleast for me.

http://i.imgur.com/DAC7GDL.png

http://i.imgur.com/jIF32Xs.png



It works see.
Forum: Scripting Help 10/07/2017, 08:23 PM
Replies: 14
Views: 1,252
Posted By Alex_T
Re: Cannot read from file error.

move the wcrp folder to your gamemode folder so its gamemode\wcrp\...
Forum: Scripting Help 10/07/2017, 08:14 PM
Replies: 14
Views: 1,252
Posted By Alex_T
Re: Cannot read from file error.

Is the file located in "gamemodes\wcrp\utils.pwn"?
Forum: Scripting Help 10/07/2017, 02:36 AM
Replies: 6
Views: 309
Posted By Alex_T
Re: Interior Problem

I edited my post check it out.
Forum: Scripting Help 10/07/2017, 02:33 AM
Replies: 6
Views: 309
Posted By Alex_T
Re: Interior Problem

http://wiki.sa-mp.com/wiki/SetVehiclePos

Check this out, replace SetPlayerPos with this to tp a vehicle

If you need to tp a person into the spot when they are not in a car you would want to use...
Forum: Scripting Help 10/07/2017, 02:23 AM
Replies: 12
Views: 2,034
Posted By Alex_T
Re: Drop items around.

You could also use ColAndreas. Something like this.
https://www.youtube.com/watch?v=kXb7RGnEtOE
Forum: Scripting Help 09/07/2017, 09:08 PM
Replies: 12
Views: 2,034
Posted By Alex_T
Re: Drop items around.

Something like that is exactly what I am looking for thanks +rep
Forum: Scripting Help 09/07/2017, 08:34 PM
Replies: 12
Views: 2,034
Posted By Alex_T
Drop items around.

Hello I made a system that drops items when you die. However I want it to drop items around your position, like within a range of 5.0. I am just not sure how I would accomplish this.
Forum: Server Support 30/06/2017, 10:36 AM
Replies: 3
Views: 413
Posted By Alex_T
Re: Domain name causing server to not be announced

tyvm didnt know samp did that haha +repped
Forum: Server Support 30/06/2017, 10:31 AM
Replies: 3
Views: 413
Posted By Alex_T
Domain name causing server to not be announced

Hello my server is showing retrieving info when I use my domain name to connect. But when I use the regular IP it doesnt. Anyone have any idea why?

The server is online and that is the IP of the...
Forum: Scripting Help 29/06/2017, 02:52 AM
Replies: 1
Views: 257
Posted By Alex_T
Best way for this system.

Hey I am wondering where the best place to place this system would be. I am creating a system for my DayZ server and basically doing the blood system I got it all working and stuff right now I am...
Forum: Scripting Help 19/06/2017, 08:02 PM
Replies: 2
Views: 369
Posted By Alex_T
Re: [Audio Plugin] Question

They where using this function. http://wiki.sa-mp.com/wiki/PlayAudioStreamForPlayer They play an audio file from a Stream URL.
Forum: Scripting Help 15/06/2017, 05:08 PM
Replies: 4
Views: 417
Posted By Alex_T
Re: fist damage players while they're frozen?

I dont think thats what he wants. If people can take damage from fists while frozen. In order to combat that you can set the players HP to what it was under onplayertakedamage
Forum: Scripting Help 15/06/2017, 03:30 AM
Replies: 5
Views: 374
Posted By Alex_T
Re: Help pls

Quit bumping all your 1000+ topics. You dont learn anything from us giving you code, find someone who is willing to help you script your shit and teach you or look up some guides.
Forum: Scripting Help 15/06/2017, 12:16 AM
Replies: 5
Views: 432
Posted By Alex_T
Re: Timer not repeating and not calling function

Thank you. Something that just went right over my head :D.
Forum: Scripting Help 14/06/2017, 11:05 PM
Replies: 5
Views: 432
Posted By Alex_T
Timer not repeating and not calling function

So I have a timer placed under on gamemodeinit and it is not repeating

public OnGameModeInit()
{
SetTimer("checkAJail", 1000, true);
}

It is supposed to call this function

checkAJail() {
Forum: Scripting Help 13/06/2017, 11:11 PM
Replies: 0
Views: 231
Posted By Alex_T
Set sizeof variable based on length of text

Hello so I am creating a system that displays damage done in this person whole time being alive, and I was wondering if there is an easy way to make a variable change size based on how big the text...
Showing results 1 to 25 of 221

 

All times are GMT. The time now is 05:24 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.