Posts: 117
Threads: 34
Joined: Nov 2014
Reputation:
0
Hi guys i need a code that let the player to use unlimited nos but just if the players writes /unlimitednos or something like that in onplayertext.. i'm tried most of the fs in forum but they don't work and most of them is without command. Thanks
Posts: 117
Threads: 34
Joined: Nov 2014
Reputation:
0
How bro? That's what i don't understand
Posts: 117
Threads: 34
Joined: Nov 2014
Reputation:
0
Sorry bro for i'm disturb you but i did something like this. is it right?
if(strcmp(cmd, "/sinirsiznos", true) == 0 || strcmp(cmd, "/unlimitednos", true) == 0)
{
SetTimerEx("NitroReset", 3000, 1);
SendClientMessage(playerid, 0xFF0000FF, "Sэnэrsэz nos aktif edildi!");
return 1;
}
Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
You should just give them 10x, and after you have detected they use it(with the FIRE key), start a timer, and then after around 10 seconds, give another 10x.
Note: This isn't really the ideal solution. For better results, give them NOS when they press FIRE key.