11.04.2012, 23:39
i made a thingy and how can i make it so if i enter sweeper it shows me automaticly the checkpoint so i dont do /matura each time.!(/matura = sweep)
PHP Code:
if(strcmp(cmd, "/matura", true) == 0)
{
if(PlayerInfo[playerid][pJob] >= 18)
{
if(IsPlayerConnected(playerid))
{
new newcar = GetPlayerVehicleID(playerid);
if(IsASweeper(newcar))
{
CP[playerid] = 78;
SetPlayerCheckpoint(playerid, 1195.8503,-1324.3208,13.1236, 3.0);
SendClientMessage(playerid, COLOR_YELLOW,"Strazile sunt de mult nematurate..");
}
}
}
else
{
return 1;
}
}