22.02.2012, 11:10
you have one } bracklet to much
pawn Код:
if (!strcmp("/v Boxville2", cmdtext, true))
{
if(SpawnedVehicles[playerid] != 0) DestroyVehicle(SpawnedVehicles[playerid]);
new Float:X,Float:Y,Float:Z,Float:ROT;
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle (playerid,ROT);
SetVehicleNumberPlate(SpawnedVehicles[playerid] = CreateVehicle(606,X,Y,Z,ROT,-1,-1,60), "{0095FF}S{E5FF00}K{FF0000}R");
PutPlayerInVehicle(playerid,SpawnedVehicles[playerid],0);
GameTextForPlayer(playerid,"~h~~w~Boxville 2~n~~h~~w~ID:~h~~r~606",2500,1);
return 1;
}