28.06.2013, 20:44
Long story short, i'll let the script do the talking, what am i doing wrong? :S
Код:
C:\Users\Jay\Desktop\GangWarsV.0.1.B\gamemodes\LSTW2Uv2.pwn(1159) : error 029: invalid expression, assumed zero C:\Users\Jay\Desktop\GangWarsV.0.1.B\gamemodes\LSTW2Uv2.pwn(2529) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
new playername[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername, MAX_PLAYER_NAME); { if(GetPlayerTeam(playerid) == TEAM_HOODLUMS) { if(GetPlayerTeam(playerid) == TEAM_HOODLUMS) { SendClientMessage(playerid, HOODLUMS_COLOR, "You have chosen your Owl Valistics Official Clan"); SetPlayerPos(playerid,gHoodlumsSP[rand][0],gHoodlumsSP[rand][1],gHoodlumsSP[rand][2]); SetPlayerFacingAngle(playerid,gHoodlumsSP[rand][3]); } } } else { /*if(GetPlayerTeam(playerid) == TEAM_HOODLUMS) { if(GetPlayerSkin(playerid) == 115) SendClientMessage(playerid, HOODLUMS_COLOR, "You have chosen your clan's skin."); } if(GetPlayerTeam(playerid) == TEAM_HOODLUMS) { if(GetPlayerSkin(playerid) == 141) SendClientMessage(playerid, HOODLUMS_COLOR, "You have chosen your Owl Balistics official clan"); SetPlayerHealth(playerid, 0); // he will keep dying until he changes skin. */ ForceClassSelection(playerid); /* SetPlayerPos(playerid,gHoodlumsSP[rand][0],gHoodlumsSP[rand][1],gHoodlumsSP[rand][2]); SetPlayerFacingAngle(playerid,gHoodlumsSP[rand][3]); */ } }