Search Results
https://sampforum.blast.hk/showthread.php?tid=162488
Here are some examples.
169
I've search for many times, but I cant find where the problem is.
180
pawn Код:
for(new i;i<MAX_PLAYERS;i++) // Loop through connected players{ if(GetPVarInt(i, "EventToken") >= 1) { if(CarShooting[i] == ...
116
Oh thats my bad, its working. Thanks you very muchh bro
319
Quote:
Originally Posted by Konstantinos
Indexes in arrays start from 0. Declaring RandomMats with size of 4 means 0-3 are its valid indexes.
If "Random" is 0 you are ignoring it so reset ...
319
Read clearly my post, I also use
pawn Код:
new Float:RandomMats[][]
319
Quote:
Originally Posted by Konstantinos
Declaring as:
pawn Код:
new EventCars[100] = INVALID_VEHICLE_ID;
sets only index 0 to INVALID_VEHICLE_ID and all the rest are 0. Then the if st...
374
I think this is the only one can make the problem hix
374
Quote:
Originally Posted by XtremeRz
You didn't return a value
Do it by typing "return 1;" end of the if, and another "return 1;" at the end of the CMD
Tell me what's happen after you do...
374
Quote:
Originally Posted by XtremeRz
You didn't return a value
Do it by typing "return 1;" end of the if, and another "return 1;" at the end of the CMD
Tell me what's happen after you do...
374
Код:
cmd:beginevent(playerid, params[])
{
new rand = Random(1, 99);
if(EventCars[rand] == INVALID_VEHICLE_ID)
{
new Float:x, Float:y, Float:z;
new Float:Angle;
GetPla...
374
What about If I SetPlayerCheckpoint(playerid, RandomSpawn[random][0], RandomSpawn[random][1], RandomSpawn[random][2], 5);
And I wanna get if Player IsPlayerInRangeOfPoint of the random point in SetPla...
4,981
- This is really nice bro, it's good for Admin System
693