Problemo "switch"
#2

Don't use cases
pawn Код:
if(GetPlayerSkin(playerid) == 280)
                {
                    SendClientMessage(playerid,COLOR_GREEN,"Hey");
                }
else if(GetPlayerSkin(playerid) == 281)
                {
                     SendClientMessage(playerid,COLOR_GREEN,"Hey Yo");
                }
else if(GetPlayerSkin(playerid) == 282)
                {
                   SendClientMessage(playerid,COLOR_GREEN,"Hey Yo All");
                }
For the spawn places you can add random spawn, if you want each skin to spawn on one place use AddPlayerClass.
Reply


Messages In This Thread
Problemo "switch" - by [rG]Cold - 09.01.2013, 10:00
Re: Problemo "switch" - by DaRk_RaiN - 09.01.2013, 10:06
Re: Problemo "switch" - by [rG]Cold - 09.01.2013, 10:25
Re: Problemo "switch" - by [rG]Cold - 09.01.2013, 10:44
Re: Problemo "switch" - by Konstantinos - 09.01.2013, 10:46
Re: Problemo "switch" - by [rG]Cold - 09.01.2013, 11:08

Forum Jump:


Users browsing this thread: 1 Guest(s)