Search Results
Quote: Originally Posted by BenzoAMG Alternatively, I think you should set the Kick(playerid) to a 500ms timer, just to make sure that he receives the "You have been banned" message. Yu...
98
Well first to get the string input you should use sscanf and zcmd: pawn Код: CMD:somecommand(playerid, params[]){new string[128];if(sscanf(params, "s", string)) return SendClientMessage(playerid, ...
81
Make sure that pPass is hashed. Otherwise make sure the password you enter is case-sensitive.
180
Try to replace the pawn Код: KillTimer(JailTimer[id]); from the command code to the pawn Код: public unjail(id) {    .....    }
131
targetid is not defined, which function or callback are you using that function call in?
75
search on the forums for Dini tutorials. Learn to use the search button.
73
Quote: Originally Posted by King Ace /dance 1-3 with ZCMD. I know how to make the animation, but don't know how to make the /dance 1, /dance 2, /dance 3. If you have sscanf: pawn Code...
7,106
Quote: Originally Posted by costel_nistor96 I'm curious why it isn't included in a_vehicles. Same, should have been added in 0.3x, I guess the team forgot to add it or something.
169
Forget my last post, I see what kind of command you're trying to make here. Include this at the top of your script: pawn Код: native IsValidVehicle(vehicleid); And use IsValidVehicle(vehicleid) i...
169
Car IDs range from 400 to 611 inclusive so check if the variable is smaller than 400 or bigger than 611. If yes, send the error message. Not sure this is the kind of command you're trying to make, if...
169
Quote: time - Timer in milliseconds. For a never ending loop it should be 0. https://sampwiki.blast.hk/wiki/ApplyAnimation/
165
Show me the function that begins with 'public' and the forward to it.
71
Kyle, I don't want it to be a never ending loop though..
165
Replace it with: pawn Код: if(newstate == PLAYER_STATE_DRIVER)    {    print("PLAYER_STATE_DRIVER");    print("GetPlayerVehicleID(playerid)");    if(GetVehicleModel(GetPlayerVehicleID(play...
76
What exactly is wrong? Here is the stock: pawn Код: stock ApplyPlayerAnimation(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync){    ApplyAnimation(pla...
165
Don't bump after 15 minutes.. For the first error you either already have that function in the script or you have it in an include. The function can be found in 'gl_common.inc' so if you included tha...
207
Just change the problematic line to this: pawn Код: new Float:dmvspeed = GetPlayerSpeed2(playerid);
188
Everything is good in OnPlayerUpdate, you know the bug I meant is that you can't see the other player's animation correctly right? Rewatch the video if not,
165
[ame]http://www.youtube.com/watch?v=ujKin0NJ0WI[/ame] I got this: pawn Код: ApplyPlayerAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.5, 0, 0, 0, 0, 1500, 1); I've made a custom ApplyAnimation...
165
This means the file doesn't exist. To create it you need to make a file handle: pawn Код: new File:hFile = fopen("fileName.txt", io_append);
60