29.04.2009, 16:16
Код:
if(strcmp(cmd, "/respawnthiscar", true) == 0 || strcmp(cmd, "/rtc", true) == 0) // by Ellis { if(IsPlayerConnected(playerid)) { if(IsPlayerInAnyVehicle(playerid)) { GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, 256, "%s has just respawned vehicle id %d.",sendername,GetPlayerVehicleID(playerid)); ABroadCast(COLOR_YELLOW,string,1); SetVehicleToRespawn(GetPlayerVehicleID(playerid)); RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, BLUE, " Vehicle Respawned !"); SendClientMessage(" CAR ID: %d ", GetPlayerVehicleID(playerid)); } } return 1; }
or anything ?
I added them cars in game and i need them cars id for newcar = ...
How ?