Search Results
Quote: Originally Posted by d1git Then make it so that if there is no driver in the car, it will not execute the callback... ez. How?
240
@decrease for all vehicles where the engine is on What will happend when there is no driver in the car? Will continue to decrease the fuel....
240
When your fuel goes to 0 and you enter in other car it doesn't decrease the fuel: Код: public DecreaseFuel() { for(new t=0;t<MAX_PLAYERS;t++) { if(IsPlayerInAnyVehicle(t)) { if(GetPla...
240
Problem Solved i missed some brackets two closes ")" and at the end closes three ")" Right code Код: if((IsPlayerInRangeOfPoint(playerid, 4.0, 2202.0747, 2476.3201, 10.4334)) || (IsPlayerInRange...
98
C:\Users\Lenovo\Desktop\samp037\gamemodes\Mode.pwn (1525) : error 036: empty statement C:\Users\Lenovo\Desktop\samp037\gamemodes\Mode.pwn (1526) : error 036: empty statement C:\Users\Lenovo\Desktop\...
98
invalid subscript (not an array or too many subscripts): "IsPlayerInRangeOfPoint" Код: if((IsPlayerInRangeOfPoint(playerid, 4.0, 2202.0747, 2476.3201, 10.4334) || (IsPlayerInRangeOfPoint(playerid...
98
Fixed it. I removed the loop under OnPlayerUpdate Код: public OnPlayerUpdate(playerid) { if(IsPlayerInAnyVehicle(playerid)) { new vspeed[25]; format(vspeed, sizeof(vspeed), "Speed: ~y~%d ~g~...
887
There is a problem with the Health. When i crash the car still shows 100.
887
I am creating checkpoint: Код: CMD:plant(playerid, params[]) { if(planted_weed[playerid] == false) { if(PlayerInfo[playerid][WeedSeeds] >= 1) { if(!IsPlayerInAnyVehicle(playerid)) ...
138
I don't know how to use this: https://sampforum.blast.hk/showthread.php?tid=251483 Please for a basic example code.
138
@If player2 or player3 are on checkpoint or if they are near player1? I can't understand you question When they enter in checkpoint created by player1.
138
How to do this? How to check if player2 or player3..... is in player1 checkpoint?
138
Look: https://sampforum.blast.hk/showthread.php?tid=556143
122
Impossible. Under windows NPC is impossible to connect to the server. Other way?
122
How to remove ID 0. because OnPlayerClickPlayer is bugged when i am trying to give something to ID 0. is it posible to remove ID 0. Players to start from ID 1 ?
122
Quote: Originally Posted by Ralfie NEVER TRUST THE CLIENT! Always keep this in your mind. Hes spoofing fake ids which causes this debug. Include sanity checks to fix this, sanity checks s...
215