10.07.2012, 10:48
Hey all i need help to set the skin for Admin only
This part let Pawn Compiler library stop working....)
Errors:
error 012: invalid function call, not a valid address
warning 215: expression has no effect
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
I'm just beginning to make server
I will +REP who that Helped me
Код:
new GetPlayerLevel[MAX_PLAYERS];
Код:
AddPlayerClass(294,3171.410000,466.290000,5.330000,355.9373,0,0,0,0,0,0); //Admin Skin
Код:
case 60: { GameTextForPlayer(playerid, "~w~ADMIN~n~~r~Only For ADMIN", 3000, 5); }
Код:
else if(classid == 60) { gTeam[playerid] = TEAM_ADMIN; }
Код:
else if(gTeam[playerid] == TEAM_ADMIN) ( SendClientMessage(playerid,COLOR_WHITE,"Spawned At Admin Area.",5000,5); SetPlayerPos(playerid, -3182.5508,465.9518,4.6841); SetPlayerMoney(playerid, 5000000); GivePlayerWeapon(playerid,4,1); GivePlayerWeapon(playerid,16,9999); GivePlayerWeapon(playerid,24,9999); GivePlayerWeapon(playerid,29,9999); GivePlayerWeapon(playerid,31,9999); GivePlayerWeapon(playerid,26,9999); GivePlayerWeapon(playerid,38,9999); SetPlayerArmour(playerid,100); }
Код:
if(gTeam[playerid] == TEAM_ADMIN) { SetPlayerColor(playerid,COLOR_PINK); }
Код:
if(gTeam[playerid] == TEAM_ADMIN && GetPlayerLevel(playerid) <=0)//<<<--------------error place... { SendClientMessage(playerid,COLOR_ERROR,"You must be Admin to use this class."); return 0; } return 1; }
error 012: invalid function call, not a valid address
warning 215: expression has no effect
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
I'm just beginning to make server
I will +REP who that Helped me