when i get on my server i ccant spawn
#1

AddStaticVehicle(416,1179.6121,-1337.9841,13.9299,273.0803,1,3); // ambulance
AddStaticVehicle(416,1177.6957,-1338.1082,14.0351,273.5856,1,3); // ambulance
AddStaticVehicle(416,1097.4137,-1328.3937,13.4502,2.0236,1,3); // ambulance
AddStaticVehicle(416,1110.2572,-1328.2708,13.4572,357.4251,1,3); // ambulance
AddStaticVehicle(416,1123.0111,-1327.1680,13.5545,0.8077,1,3); // ambulance
AddStaticVehicle(416,1123.0322,-1329.0438,13.3955,0.7097,1,3); // ambulance
AddStaticVehicle(497,1560.5035,-1660.6595,28.5734,91.9275,0,1); // Police Maverick
AddStaticVehicle(497,1562.3341,-1690.2146,28.5931,90.5969,0,1); // Police Maverick
AddStaticVehicle(497,1562.3461,-1698.2717,28.5554,90.1832,0,1); // Police Maverick
AddStaticVehicle(596,1602.4104,-1703.6111,5.6111,91.5477,0,1); // Police Car
AddStaticVehicle(596,1602.3221,-1699.9736,5.6115,89.2099,0,1); // Police Car
AddStaticVehicle(596,1602.1750,-1696.5577,5.6120,93.0273,0,1); // Police Car
AddStaticVehicle(596,1601.8885,-1692.8848,5.6154,94.8282,0,1); // Police Car
AddPlayerClass(291,1744.5500,-1861.4077,13.5776,350.6742,0,0,0,0,0,0); // El Corona Spawn Civilan
AddPlayerClass(280,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // Police Officer spawn
AddPlayerClass(281,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD rank 2
AddPlayerClass(282,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD rank 3
AddPlayerClass(282,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD rank 4
AddPlayerClass(283,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD rank 5
AddPlayerClass(288,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD lider
AddPlayerClass(177,1175.1886,-1325.1494,14.3906,268.4335,0,0,0,0,0,0); // Bolnicari spawn
AddPlayerClass(70,1175.1886,-1325.1494,14.3906,268.4335,0,0,0,0,0,0); // Bolnicari Lider
AddPlayerClass(276,1175.1886,-1325.1494,14.3906,268.4335,0,0,0,0,0,0); // Bolnicari rank 2
AddPlayerClass(275,1175.1886,-1325.1494,14.3906,268.4335,0,0,0,0,0,0); // Bolnicari rank 3

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

no errors or warning please help
Reply
#2

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
AddPlayerClass(291,1744.5500,-1861.4077,13.5776,350.6742,0,0,0,0,0,0); // El Corona Spawn Civilan
AddPlayerClass(280,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // Police Officer spawn
AddPlayerClass(281,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD rank 2
AddPlayerClass(282,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD rank 3
AddPlayerClass(282,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD rank 4
AddPlayerClass(283,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD rank 5
AddPlayerClass(288,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD lider
AddPlayerClass(177,1175.1886,-1325.1494,14.3906,268.4335,0,0,0,0,0,0); // Bolnicari spawn
AddPlayerClass(70,1175.1886,-1325.1494,14.3906,268.4335,0,0,0,0,0,0); // Bolnicari Lider
AddPlayerClass(276,1175.1886,-1325.1494,14.3906,268.4335,0,0,0,0,0,0); // Bolnicari rank 2
AddPlayerClass(275,1175.1886,-1325.1494,14.3906,268.4335,0,0,0,0,0,0); // Bolnicari rank 3
    return 1;
}
Reply
#3

tnx bro no errors i going to try it on server
Reply
#4

Quote:
Originally Posted by TaiRinsuru
Посмотреть сообщение
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
AddPlayerClass(291,1744.5500,-1861.4077,13.5776,350.6742,0,0,0,0,0,0); // El Corona Spawn Civilan
AddPlayerClass(280,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // Police Officer spawn
AddPlayerClass(281,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD rank 2
AddPlayerClass(282,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD rank 3
AddPlayerClass(282,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD rank 4
AddPlayerClass(283,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD rank 5
AddPlayerClass(288,1553.0703,-1675.1847,16.1953,85.4449,0,0,0,0,0,0); // PD lider
AddPlayerClass(177,1175.1886,-1325.1494,14.3906,268.4335,0,0,0,0,0,0); // Bolnicari spawn
AddPlayerClass(70,1175.1886,-1325.1494,14.3906,268.4335,0,0,0,0,0,0); // Bolnicari Lider
AddPlayerClass(276,1175.1886,-1325.1494,14.3906,268.4335,0,0,0,0,0,0); // Bolnicari rank 2
AddPlayerClass(275,1175.1886,-1325.1494,14.3906,268.4335,0,0,0,0,0,0); // Bolnicari rank 3
    return 1;
}
AddPlayerClass should go under OnGameModeInit then you can check for the class IDs in this callback.
Reply
#5

i do it ongamemodeinit but dont work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)