11.06.2015, 11:05
This: PutPlayerInVehicle(playerid, car[playerid], 0);
Here you are, fixed:
Here you are, fixed:
Код:
public OnPlayerSpawn(playerid) { TextDrawShowForPlayer(playerid, Textdraw2); TextDrawHideForPlayer(playerid, Textdraw4); TextDrawHideForPlayer(playerid, Textdraw5); TextDrawHideForPlayer(playerid, Textdraw6); TextDrawHideForPlayer(playerid, Textdraw7); TextDrawHideForPlayer(playerid, Textdraw8); TextDrawShowForPlayer(playerid, Timer); SetPlayerRaceCheckpoint(playerid, 0,-2264.8501,2312.7566,4.5473,-2271.4414,2351.0659,4.4289,10); Stats[playerid] = 1; SetPlayerColor(playerid, COLOR_YELLOW); SetPlayerTime(playerid,12,0); SetPlayerInterior(playerid,0); SetCameraBehindPlayer(playerid); SendClientMessage(playerid,0xFF0000FF,"{FF0000}» Usage: {FFFFFF}/re to repair your vehicle!"); SendClientMessageToAll(-1,"{000DFF}» Serv: {0080FF}This Mission has been created by SpikY_ | On 10/6/2015 | Mission Name: The Marathon Race!"); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,0); if(Free == 0) { TogglePlayerControllable(playerid, 0); } else if(Free == 1) { TogglePlayerControllable(playerid, 1); } return 1; }