[URGENTE]Samp-server
#5

pawn Код:
#include <a_samp>
#define AMARELO    0xF5DEB3AA
#pragma tabsize 0

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/policia", cmdtext, true)==0)
    {
        SetPlayerSkin(playerid, 283);
        SetPlayerPos(playerid,1552.5591,-1675.4406,16.1953);
        SetPlayerHealth(playerid, 100);
        SetPlayerArmour(playerid, 100);
        ResetPlayerWeapons(playerid);
        GivePlayerWeapon(playerid, 24, 9999);
        GivePlayerWeapon(playerid, 26, 9999);
        GivePlayerWeapon(playerid, 32, 9999);
        SendClientMessage(playerid, AMARELO,"Agora vocк й policial, seu dever й capiturar traficantes!");
        SendClientMessageToAll(AMARELO,"usou o comando /policia e virou policial");
        return 1;
    }
    if (strcmp("/traficante", cmdtext, true)==0)
    {
        SetPlayerSkin(playerid, 103);
        SetPlayerPos(playerid, 2495.2900,-1687.4009,13.5155);
        SetPlayerHealth(playerid, 100);
        SetPlayerArmour(playerid, 100);
        ResetPlayerWeapons(playerid);
        GivePlayerWeapon(playerid, 24, 9999);
        GivePlayerWeapon(playerid, 26, 9999);
        GivePlayerWeapon(playerid, 32, 9999);
        SendClientMessage(playerid, AMARELO,"Agora vocк й Traficante, seu dever й matar ou fujir da policia!");
        SendClientMessageToAll(AMARELO,"usou o comando /traficante e virou traficante tome cuidado");
        return 1;
    }
    if (strcmp("/normal", cmdtext, true)==0)
    {
        SetPlayerSkin(playerid, 271);
         SetPlayerPos(playerid, 1242.7889, -1700.1168, 14.8672);
        SetPlayerHealth(playerid, 100);
        ResetPlayerWeapons(playerid);
         GivePlayerWeapon(playerid, 24, 9999);
         SendClientMessage(playerid, AMARELO,"Vocк voltou ao normal, pois tome cuidado hб traficantes a solta!");
        SendClientMessageToAll(AMARELO,"Usou o comando /normal e voltou ao normal.");
        return 1;
    }
return 0;
}
Reply


Messages In This Thread
[URGENTE]Samp-server - by Rafael_. - 21.09.2011, 02:15
Re: [URGENTE]Samp-server - by Vai_Besta - 21.09.2011, 02:17
Re: [URGENTE]Samp-server - by Rafael_. - 21.09.2011, 02:20
Re: [URGENTE]Samp-server - by Rafael_. - 21.09.2011, 02:26
Re: [URGENTE]Samp-server - by [O.z]Caroline - 21.09.2011, 02:27
Re: [URGENTE]Samp-server - by Rafael_. - 21.09.2011, 02:33
Re: [URGENTE]Samp-server - by Macintosh - 21.09.2011, 02:36
Re: [URGENTE]Samp-server - by Rafael_. - 21.09.2011, 02:38
Re: [URGENTE]Samp-server - by Macintosh - 21.09.2011, 02:43
Re: [URGENTE]Samp-server - by Lуs - 21.09.2011, 02:43

Forum Jump:


Users browsing this thread: 1 Guest(s)