SA-MP Forums Archive
Help - 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: Help (/showthread.php?tid=270778)



Help - Alex_Obando - 21.07.2011

Hello I was wondering how to make the next thing.

OnPlayer Select "Police skin" (Skins between 265 - 267 & 280 - 28

On Player Spawn

Welcome, your job is to arrest players.
Do /cs [265 - 267 & 280 - 288] To change your cop skin.

tnx alex.


Re: Help - MadeMan - 21.07.2011

pawn Код:
public OnPlayerSpawn(playerid)
{
    switch(GetPlayerSkin(playerid))
    {
        case 265..267,280..288:
        {
            SendClientMessage(playerid, 0xFFFFFFFF, "Welcome, your job is to arrest players.");
            SendClientMessage(playerid, 0xFFFFFFFF, "Do /cs To change your cop skin.");
        }
    }
    return 1;
}