Search Results
Dunno, try something like that pawn Code: // Get player's velocitynew Float:x, Float:y, Float:z;GetPlayerVelocity(playerid, x, y, z);// Add to current velocitynew Float:increment = 10.0;x += increme...
428
Quote: Originally Posted by AlterEGO That'd be option 2. IsPlayerInRangeOfPoint and OnPlayerWeaponShot.
150
OnPlayerTakeDamage and OnPlayerGiveDamage have weaponid parameter, you can check that against whatever you want, WEAPON_COLLISION id 54 is what makes a player loses HP if they jump, then calculate the...
115
Quote: Originally Posted by MayaEU at the beginning every toy object ids was in one. but i have made it in diffrent classes, clothes1, clothes2 and toys1 You most likely messed up the ...
189
Specify what you actually want ideas on. 1. how to detect "when someone creates a shootout". 2. how to detect "when someone creates a shootout in public places". 3. how to let the police have knowled...
150
So, you want it to be blank in the dialog as well, not 0?
132
Quote: Originally Posted by XVlaDX That's primarily because of the delay between the ban and kick functions. A lot of servers delay the kick process by around a second or two to enable for...
165
Shouldn't it be pawn Code: if(!strcmp(banmsg[0], RPN(playerid), false, strlen(RPN(playerid))))
227
Yeah, or change font type since this occurs only with that font as far as I remember.
146
1. Use strcmp and its length parameter. 2. What is RPIP and RPN? What do these two functions actually do?
227
I have no idea, probably not, but you can do that easily if you have the map thing script.
219
Remove OnPlayerCommandText code and maybe just place the following code at the end of OnFilterScriptInit: pawn Code: new newname[64];    for(LastAdded = 0; LastAdded < 30; LastAdded ++)    {Â...
219
Do you want it to spawn them when filterscript is loaded1? If so, how many NPCs do you need?
219
Quote: Originally Posted by SalmaN97 i have tried in mod shop my car color changes but it does not save in the file Show us your "car saving stock" code!
205
Yes, it's possible. Search for its code under OnPlayerEnterCheckpoint then remove it, and/or try to find where the CP is set with SetPlayerCheckpoint.
105
In your first if statement, you check if CowTime is greater than 0, being that 5 is greater than 0, your else-if will not be reached when CowTime equals 5, the if statement code will take place instea...
111
Quote: Originally Posted by karemmahmed22 Why don't you post an tutorial? I already done that, My server crashes everytime i kill the timer. Well then post the code you tried that made ...
202
There's an extra semi-colon, remove it. It should be: pawn Code: if(Robbed[playerid] == 0)
125