09.04.2010, 21:07
How do i make a skin set to a team?
C:\Users\alex\Desktop\Streets of los santos\gamemode\SW-LS.pwn(97) : warning 202: number of arguments does not match definition C:\Users\alex\Desktop\Streets of los santos\gamemode\SW-LS.pwn(98) : error 001: expected token: "*then", but found "-identifier-" C:\Users\alex\Desktop\Streets of los santos\gamemode\SW-LS.pwn(100) : error 010: invalid function or declaration C:\Users\alex\Desktop\Streets of los santos\gamemode\SW-LS.pwn(103) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
} if GetPlayerSkin(playerid, 102) SetPlayerTeam(playerid, TEAM_GROVE); } else if GetPlayerSkin(playerid, 106) SetPlayerTeam(playerid, TEAM_BALLAS); }
if(GetPlayerSkin(playerid, 102) {
SetPlayerTeam(playerid, TEAM_GROVE);
}
else if(GetPlayerSkin(playerid, 106) {
SetPlayerTeam(playerid, TEAM_BALLAS);
}