C:\Users\Owner\AppData\Desktop\dm\gamemodes\dm.pwn(173) : error 017: undefined symbol "gPlayer" C:\Users\Owner\AppData\Desktop\dm\gamemodes\dm.pwn(173) : warning 215: expression has no effect C:\Users\Owner\AppData\Desktop\dm\gamemodes\dm.pwn(173) : error 001: expected token: ";", but found "]" C:\Users\Owner\AppData\Desktop\dm\gamemodes\dm.pwn(173) : error 029: invalid expression, assumed zero C:\Users\Owner\AppData\Desktop\dm\gamemodes\dm.pwn(173) : fatal error 107: too many error messages on one
enum Info
{
team
//Other player info stuff.
};
new gPlayer[MAX_PLAYERS][Info];
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerTeamFromClass(playerid, classid);
SetPlayerPos(playerid, 877.9190,-1077.0901,24.5843);
SetPlayerFacingAngle(playerid, 360.0000);
SetPlayerCameraPos(playerid, 877.9275,-1072.0787,24.3923);
SetPlayerCameraLookAt(playerid, 877.9190,-1077.0901,24.5843);
new skinid = GetPlayerSkin(playerid);
switch(skinid)
{
case 280:
{
GameTextForPlayer(playerid,"~b~ Police",2000,6);
gPlayer[playerid][teamid] = TEAM_POLICE;
}
case 281:
{
GameTextForPlayer(playerid,"~b~ Police",2000,6);
gPlayer[playerid][teamid] = TEAM_POLICE;
}
case 282:
{
GameTextForPlayer(playerid,"~b~ Police",2000,6);
gPlayer[playerid][teamid] = TEAM_POLICE;
}
}
return 1;
}
Originally Posted by [HiC
TheKiller ]
pawn Код:
|