01.11.2009, 10:43
Quote:
Originally Posted by Burridge
If you have a OnPlayerLogin function (With your register system maybe?) add it there. If you don't know what I mean, check SeifAdmin maybe?
|
Maybe ill try the OnPlayerSpawn one.
Another problem when i add it to my gamemode, i am getting about 3 errors.
Код:
C:\Users\Fred\Documents\samp03asvr_win32\gamemodes\grandlarc.pwn(142) : error 010: invalid function or declaration C:\Users\Fred\Documents\samp03asvr_win32\gamemodes\grandlarc.pwn(145) : error 021: symbol already defined: "GetPlayerName" C:\Users\Fred\Documents\samp03asvr_win32\gamemodes\grandlarc.pwn(148) : error 010: invalid function or declaration
Код:
if(IsPlayerAdmin(playerid))
Код:
GetPlayerName(playerid, name, 24);
Код:
return 1;