13.12.2010, 04:59
(
Последний раз редактировалось Kitten; 24.11.2013 в 06:23.
)
Solved
CMD:uav(playerid, params[])
{
if (Kills[playerid] > 2)
{
ShowPlayerMarkers(2);
SetTimer("UAVGONE",9000,false); // 9 second
return 1;
}
else return 0; // or error message
}
SetPVarInt(killerid, "Kills", GetPVarInt(killerid, "Kills") + 1);
if(GetPVarInt(playerid, "Kills") >= 3) // More or equals to 3 kills
pData[killerid][Kills]++;
if(pData[playerid][Kills] >= 3)