C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\[SFP]Server For Pilots\gamemodes\sfp.pwn(32) : error 021: symbol already defined: "AddStaticVehicle" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Server For Pilots");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
AddStaticVehicle(415,-2089.7454,-85.3183,34.9356,0.0900,36,1);
}
AddStaticVehicle(415,-2089.7454,-85.3183,34.9356,0.0900,36,1);
}
#include <a_samp> // If you didn't, then do add
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Server For Pilots");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
AddStaticVehicle(415,-2089.7454,-85.3183,34.9356,0.0900,36,1);//delete me
}//and me
public OnGameModeInit()
{
SetGameModeText("Server For Pilots");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddStaticVehicle(415,-2089.7454,-85.3183,34.9356,0.0900,36,1);
return 1;
}
pawn Код:
|
I want to add vehicles to my gamemode. I made a gamemode once I never got those errors.
For some reason I got it. :/ I am making a flying server and I made already around 905 vehicles with in 3 days lol. So I need to add all of them but kept getting errors. |
public OnGameModeInit()
{
SetGameModeText("Server For Pilots");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddStaticVehicle(415,-2089.7454,-85.3183,34.9356,0.0900,36,1);
}
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Server For Pilots");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddStaticVehicle(415,-2089.7454,-85.3183,34.9356,0.0900,36,1);
return 1;
}