19.03.2014, 13:15
My codei've inserted my own enum)
Now I've experimented if it works. I've set my score to 5000, and 10000. None of them worked. How do I?
pawn Код:
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
if(GetVehicleModel(vehicleid) == 425 && pInfo[playerid][Scores] < 5000)
{
SendClientMessage(playerid, 0xFF0000FF, "You need 5000 score to drive the Hunter!"); SetPlayerPos(playerid, X, Y, Z);
}