06.03.2015, 13:30
PHP код:
C:\Users\Administrator\Desktop\SvT Mike\gamemodes\C_VS_T_4.1.pwn(1372) : error 017: undefined symbol "PlayerInfo"
C:\Users\Administrator\Desktop\SvT Mike\gamemodes\C_VS_T_4.1.pwn(1372) : warning 215: expression has no effect
C:\Users\Administrator\Desktop\SvT Mike\gamemodes\C_VS_T_4.1.pwn(1372) : error 001: expected token: ";", but found "]"
C:\Users\Administrator\Desktop\SvT Mike\gamemodes\C_VS_T_4.1.pwn(1372) : error 029: invalid expression, assumed zero
C:\Users\Administrator\Desktop\SvT Mike\gamemodes\C_VS_T_4.1.pwn(1372) : fatal error 107: too many error messages on one line
PHP код:
public OnPlayerRequestClass(playerid, classid){
SetSkinToMeSkin[playerid]=500;
new skin=GetPlayerSkin(playerid);
switch(skin){
case 125,124:{
SetPlayerPos(playerid, -382.5999,2206.6169,42.4236);
SetPlayerFacingAngle(playerid,280.0);
if(Options[TextLanguage]==2)GameTextForPlayer(playerid,"~r~TERRORISTS",2000,3);
SetPlayerColor(playerid,COLOR_LIGHTRED);SKIN[playerid]=skin;
SetPlayerCameraPos(playerid, -379.5999,2206.6169,42.4236);
SetPlayerCameraLookAt(playerid, -382.5999,2206.6169,42.4236);}
case 287:{
SetPlayerPos(playerid, 212.7791,1919.7570,17.6406);
SetPlayerFacingAngle(playerid,180.0);
if(Options[TextLanguage]==2)GameTextForPlayer(playerid,"~b~SWAT",2000,3);
SetPlayerColor(playerid,COLOR_BLUE);SKIN[playerid]=skin;
SetPlayerCameraPos(playerid, 212.7791,1916.7570,17.6406);
SetPlayerCameraLookAt(playerid, 212.7791,1919.7570,17.6406);}
case 285:{
SetPlayerPos(playerid, 212.7791,1919.7570,17.6406);
SetPlayerFacingAngle(playerid,180.0);
if(Options[TextLanguage]==2)GameTextForPlayer(playerid,"~b~DONATOR",2000,3);
SetPlayerColor(playerid,COLOR_BLUE);SKIN[playerid]=skin;
SetPlayerCameraPos(playerid, 212.7791,1916.7570,17.6406);
SetPlayerCameraLookAt(playerid, 212.7791,1919.7570,17.6406);}}
return 1;}