19.12.2011, 03:31
https://sampforum.blast.hk/showthread.php?tid=303538
Go there and follow the directions. Also, i use this:
Yes it works the same but i use that and it works for me. also make sure that the GS = GangZoneCreate[coords here] is under OnPlayerConnect.
Try this:
Go there and follow the directions. Also, i use this:
pawn Код:
GangZoneShowForPlayer(playerid,GS,COLOR_GREEN);
Try this:
pawn Код:
//includes and defines and such here
OnGameModeInit()
{
new GS;//The Variable
//other stuff here
}
OnPlayerConnect(playerid)
{
GangZoneShowForPlayer(playerid,GS,COLOR_GREEN);//Showing the variable to each player
GS = GangZoneCreate(-227.765727, -2258.13449, 527.114967, -1542.299349);//Defining the variable so the server knows what to show
return 1;
}