[AJUDA] Fs !
#3

pawn Код:
#include <a_samp>
forward SetPlayerPrisao(killerid);
new bool:Prisao[MAX_PLAYERS];
//new String[128];

public OnPlayerDeath(playerid,killerid)
{
    if(GetPlayerState(killerid) == PLAYER_STATE_DRIVER) {
        Prisao[killerid] = true;
        ResetPlayerWeapons(killerid);
        GivePlayerMoney(killerid, -3500);
        SetPlayerPos(killerid, 197.6661, 173.8179, 1003.0233);
        SetPlayerInterior(killerid, 3);
        SetTimerEx("SetPlayerPrisao", 300000, 0, "i", killerid);
    }
    return 1;
}

public SetPlayerPrisao(killerid)
{
    new giveplayer[MAX_PLAYER_NAME];
    GetPlayerName(killerid, giveplayer, sizeof(giveplayer));
    SetPlayerInterior(killerid,0);
    SpawnPlayer(killerid);
    Prisao[killerid] = false;
    GameTextForPlayer(killerid, "~w~~h~voce esta ~r~~h~livre!", 1000,1);
    return 1;
}
Reply


Messages In This Thread
[AJUDA] Fs ! - by leosivi - 16.03.2012, 14:45
Re: [AJUDA] Fs ! - by Lуs - 16.03.2012, 14:55
Re: [AJUDA] Fs ! - by luizfel2 - 16.03.2012, 14:57
Re: [AJUDA] Fs ! - by Lуs - 16.03.2012, 14:59
Re: [AJUDA] Fs ! - by luizfel2 - 16.03.2012, 15:19
Respuesta: [AJUDA] Fs ! - by leosivi - 16.03.2012, 16:04
Respuesta: [AJUDA] Fs ! - by leosivi - 16.03.2012, 16:10
Re: Respuesta: [AJUDA] Fs ! - by Lуs - 16.03.2012, 16:11
Respuesta: Re: Respuesta: [AJUDA] Fs ! - by leosivi - 16.03.2012, 16:39
Re: Respuesta: Re: Respuesta: [AJUDA] Fs ! - by Lуs - 16.03.2012, 21:40

Forum Jump:


Users browsing this thread: 3 Guest(s)