14.08.2012, 20:07
It works but 1 can only see 1 bloodring car How to fix this? I need the 14 more bloodring cars..
Код:
new bloodring1; //derby
pawn Код:
CMD:derby(playerid, params[])
{
new string[128], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
format(string, sizeof(string), "{6666FF}(/derby) {00CCFF}%s {6666FF}has Teleported to Derby Deathmatch",pName);
SendClientMessageToAll(0xFFFFFFFF, string);
GameTextForPlayer(playerid,"~y~Welcome to ~n~~b~Derby Deathmatch",2000,3);
SetPlayerPos(playerid, -1398.103515,937.631164,1038.479125);
SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid, 0.0);
SetPlayerHealth(playerid, 100);
SetPlayerInterior(playerid, 15);
SetPlayerVirtualWorld(playerid, 15);
DestroyVehicle(GetPlayerVehicleID(playerid));
bloodring1 = AddStaticVehicleEx(504,-1376.4580,966.9666,1024.4117,93.6894,57,38,30);
bloodring1 = AddStaticVehicleEx(504,-1393.1066,966.6279,1024.4623,91.7172,45,29,30);
bloodring1 = AddStaticVehicleEx(504,-1406.1743,966.6417,1024.4677,88.1195,34,9,30);
bloodring1 = AddStaticVehicleEx(504,-1421.7993,966.6398,1024.4993,89.4404,65,9,30);
bloodring1 = AddStaticVehicleEx(504,-1460.3344,980.5142,1024.9666,38.2746,14,1,30);
bloodring1 = AddStaticVehicleEx(504,-1467.7229,996.8605,1025.3131,9.6370,12,9,30);
bloodring1 = AddStaticVehicleEx(504,-1449.6244,1019.4761,1025.6427,308.0523,26,1,30);
bloodring1 = AddStaticVehicleEx(504,-1419.6575,1024.5049,1025.4474,269.2815,51,39,30);
bloodring1 = AddStaticVehicleEx(504,-1396.2334,1025.4830,1025.5431,269.0367,57,38,30);
bloodring1 = AddStaticVehicleEx(504,-1377.9559,1025.7511,1025.5701,266.9881,45,29,30);
bloodring1 = AddStaticVehicleEx(504,-1352.7950,1020.7386,1025.3851,251.1414,34,9,30);
bloodring1 = AddStaticVehicleEx(504,-1336.7513,1007.6894,1025.0256,219.3864,65,9,30);
bloodring1 = AddStaticVehicleEx(504,-1331.9465,995.0533,1024.8557,177.4551,14,1,30);
bloodring1 = AddStaticVehicleEx(504,-1341.5992,976.8063,1024.6448,120.8471,12,9,30);
bloodring1 = AddStaticVehicleEx(504,-1357.5392,969.1069,1024.5077,102.8453,26,1,30);
LinkVehicleToInterior(bloodring1, 15);
SetVehicleVirtualWorld(bloodring1, 15);
return 1;