12.04.2012, 00:18
i wanted at Onplayerstatechange.. i added this.
i put this at onplayerstatechange
PHP Code:
(6542) : warning 219: local variable "newcar" shadows a variable at a preceding level
PHP Code:
if(PlayerInfo[playerid][pJob] >= 18)
{
if(IsPlayerConnected(playerid)) {
LINE: (6542) 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..");
}
}