11.07.2018, 13:36
Hey guys i made a simple cmd about no reload my guns, but i cant disabled it when i make /noreload this is what i have:
what i made bad? now i want if i type again /noreload says No reload mode, has been disabled !
PHP Code:
CMD:noreload(playerid, params[])
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 3)
{
{
{
SetTimer("NoReload", 250, 1);
SendClientMessage(playerid, COLOR_SUCCESS, "No reload mode, has been enabled !");
}
}
}
else
{
SendClientMessage(playerid, COLOR_CORRECTION, "You are not authorized to use this command !");
}
}
return 1;
}
public NoReload(playerid)
{
GivePlayerWeapon(playerid, GetPlayerWeapon(playerid), 10);
return 1;
}