11.04.2012, 17:05
Hey Guys Today I Made This cmd to change plate name, it sucessfully compiled without any error but when i use it it wont change the plate name
Plz I hope I Could Get Help Really Fast
Thx In Advance.
pawn Код:
if(strcmp(cmd, "/setplate", true) == 0)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return
SendClientMessage(playerid, red,"Usage : /setplate [Plate Name]");
if(strlen(tmp))
{
SetVehicleNumberPlate(GetPlayerVehicleID(playerid), tmp);
format(string, sizeof string,"You successfully set your plate number to %s",tmp);
SendClientMessage(playerid, red, string);
}
return 1;
}
Thx In Advance.