14.07.2010, 06:14
LOL?
Its because string has already been identified.
Remove the following from the /carid.
Instead to make it easier, copy this and replace the last one with it.
No Errors should show.
Its because string has already been identified.
Remove the following from the /carid.
pawn Код:
new string[128];
pawn Код:
if(strcmp(cmd, "/carid", true) == 0) {
if(!IsPlayerInAnyVehicle(playerid)){
SendClientMessage(playerid, red, "You need to be in a car to use this command.");
return 1;
}
new vehicleid = GetPlayerVehicleID(playerid);
format(string, sizeof(string), "Your car id is %d", vehicleid);
SendClientMessage(playerid, yellow, string);
return 1;
}