/kill [IS that Bug]?
#3

Quote:
Originally Posted by [KHK]Khalid
Посмотреть сообщение
You're talking about that shaking camera after you die? You want to disable that?

Add this stock to your script

pawn Код:
stock ALTER_SpawnPlayer(playerid)
{
    if(IsPlayerInAnyVehicle(playerid))
        RemovePlayerFromVehicle(playerid);
    SetPlayerPos(playerid, 0, 0, 0);
    SpawnPlayer(playerid);
    return 1;
}
then use it under OnPlayerDeath like this:

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    // code ..
    // code ..
    // code ..
    // code ..
   
    ALTER_SpawnPlayer(playerid);
    return 1;
}
+REP ill try it out , hey ur arabian :P marhaba
Reply


Messages In This Thread
/kill [IS that Bug]? - by MahdiGames - 28.01.2014, 22:25
Re: /kill [IS that Bug]? - by [KHK]Khalid - 28.01.2014, 22:35
Re: /kill [IS that Bug]? - by MahdiGames - 28.01.2014, 23:30
Re: /kill [IS that Bug]? - by MahdiGames - 28.01.2014, 23:34
Re: /kill [IS that Bug]? - by [KHK]Khalid - 28.01.2014, 23:51
Re: /kill [IS that Bug]? - by MahdiGames - 29.01.2014, 07:59
Re: /kill [IS that Bug]? - by KatieNGG - 29.01.2014, 08:45

Forum Jump:


Users browsing this thread: 1 Guest(s)