03.11.2014, 14:57
hello guyz can you tell me what is the problem in this script??
it says undefined symbol "playerid"
pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#if defined playerid
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif
new ahad;
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
//zones
GangZoneShowForPlayer(playerid, ahad, 0x00000096);
return 1;
}
public OnPlayerSpawn(playerid) {
GangZoneShowForPlayer(playerid, ahad, 0x00000096);
return 1;
}
//======================
it says undefined symbol "playerid"