01.10.2013, 00:06
(
Последний раз редактировалось AF1_CLAN; 01.10.2013 в 00:12.
Причина: Indent
)
This is your player spawn LOCATION:
So you must configure it like so:
The script is cleaner with an example on top see this:
Код:
2521.2722,-1678.7083,15.3522,82.8959
Код:
(class id, x ,y ,z , rotation, gun, ammo, gun, ammo, gun ammo);
Код:
public OnGameModeInit() { SetGameModeText("Blank Script"); //Your gamemode name //(class id, x ,y ,z , rotation, gun, ammo, gun, ammo, gun ammo); AddPlayerClass(107,2521.2722,-1678.7083,15.3522,82.8959,31,500,24,999,32,400); AddPlayerClass(106,2521.2722,-1678.7083,15.3522,82.8959,31,500,24,999,32,400); AddPlayerClass(105,2521.2722,-1678.7083,15.3522,82.8959,31,500,24,999,32,400); AddPlayerClass(108,2521.2722,-1678.7083,15.3522,82.8959,37,900,18,2020,30,999); AddPlayerClass(109,2521.2722,-1678.7083,15.3522,82.8959,37,900,18,2020,30,999); AddPlayerClass(110,2521.2722,-1678.7083,15.3522,82.8959,37,900,18,2020,30,999); AddPlayerClass(102,2521.2722,-1678.7083,15.3522,82.8959,22,9999,31,999); AddPlayerClass(103,2521.2722,-1678.7083,15.3522,82.8959,27,2700,22,9999,31,999); AddPlayerClass(104,2521.2722,-1678.7083,15.3522,82.8959,27,2700,22,9999,31,999); AddPlayerClass(114,2521.2722,-1678.7083,15.3522,82.8959,26,200,23,400,32,999); AddPlayerClass(115,2521.2722,-1678.7083,15.3522,82.8959,26,200,23,400,32,999); AddPlayerClass(116,2521.2722,-1678.7083,15.3522,82.8959,26,200,23,400,32,999); AddPlayerClass(120,2521.2722,-1678.7083,15.3522,82.8959,8,0,31,999,24,999); AddPlayerClass(179,2521.2722,-1678.7083,15.3522,82.8959,30,500,22,490,29,800); AddPlayerClass(194,2521.2722,-1678.7083,15.3522,82.8959,10,0,31,2000,30,2000); //vehicleid, x,y,z,rotation, color, color); AddStaticVehicle(447,2529.5759,-1678.2296,19.9419,91.5106,75,2); AddStaticVehicle(490,2494.3008,-1654.5840,13.5311,249.8709,0,0); AddStaticVehicle(451,2473.8311,-1700.7242,13.2273,177.6675,125,125); AddStaticVehicle(522,2528.0742,-1689.7404,13.2581,80.6985,6,25); AddStaticVehicle(522,2527.1887,-1689.2676,13.2201,63.1784,6,25); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) //the spawn screen location { SetPlayerPos(playerid,1679.3407,14.8529,88.2490); SetPlayerFacingAngle(playerid,90.0); SetPlayerCameraPos(playerid,2513.6995,-1675.4047,13.5563,250.6615); SetPlayerCameraLookAt(playerid,2513.6995,-1675.4047,13.5563,250.6615); return 1; } public OnPlayerConnect(playerid) //Always keep your codes after { not before. { GameTextForPlayer(playerid, "~b~Hello, Welcome to our server, remember to read /rules!",10000,6); return 1; }