team set to skins - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: team set to skins (
/showthread.php?tid=140630)
team set to skins -
02manchestera - 09.04.2010
How do i make a skin set to a team?
Re: team set to skins -
02manchestera - 09.04.2010
OK ive tried this but get these error but dont no if this is right anways
Код:
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);
}
Re: team set to skins -
Torran - 09.04.2010
pawn Код:
if(GetPlayerSkin(playerid, 102) {
SetPlayerTeam(playerid, TEAM_GROVE);
}
else if(GetPlayerSkin(playerid, 106) {
SetPlayerTeam(playerid, TEAM_BALLAS);
}
Re: team set to skins -
Dark_Kostas - 09.04.2010
Could you post your #define lines about your teams?