Problems with filterscript
#8

PHP код:
public OnPlayerDeath(playeridkilleridreason)
{
//   printf("OnPlayerDeath: playerid: %d, killerid: %d, reason: %s", playerid, killerid, reason); //debug
    
if (PlayerInfo[playerid][pHungry] == || PlayerInfo[playerid][pThirsty] == 1)
    {
        
PlayerInfo[playerid][pHungry] = 360;
        
PlayerInfo[playerid][pThirsty] = 300;
    }
    
ClearGuns(playerid);
    
SetPlayerColor(playeridTCOLOR_HOSPITAL);
    
GameTextForPlayer(playerid,"~w~Wasted",4000,2);
    
SetPlayerVirtualWorld(playerid0);
    
PlayerInfo[playerid][pOnDuty] = 0;
    
PlayerInfo[playerid][pBombs] = 0;
    
PlayerInfo[playerid][pScope] = 0;
    
PlayerInfo[playerid][pLocal] = 999;
    
PlayerInfo[playerid][pVirtualWorld] = 0;
    
PlayerInfo[killerid][pKills] += 1;
    
WithGlasses[playerid] = 0;
    
Parrot[playerid] = 0;
    
WithMask[playerid] = 0;
    
WithHat[playerid] = 0;
    
WithBandana[playerid] = 0;
    
WithHelmet[playerid] = 0;
    
wrench[playerid] = 0;
    
hammer[playerid] = 0;
    
crowbar[playerid] = 0;
    
chainsawdildo[playerid] = 0;
    
flashlight[playerid] = 0;
    
screwdriver[playerid] = 0;
    
rake[playerid] = 0;
    
AShield[playerid] = 0;
    
BShield[playerid] = 0;
    
PlayerInfo[playerid][pInHouse] = 999;
    
PlayerInfo[playerid][pInBiz] = 999;
    if(
PlayerInfo[playerid][Lockpicking] > 0)
    {
        
PlayerInfo[playerid][Lockpicking] = 0;
        
PlayerInfo[playerid][CLockpick] = 0;
        
PlayerInfo[playerid][HLockpick] = 999;
    }
    
STDPlayer[playerid] = 0;
    
IsAtEvent[playerid] = 0;
    new 
name[MAX_PLAYER_NAME];
    new 
killa[MAX_PLAYER_NAME];
    new 
string[128];
    new 
caller Mobile[playerid];
    
GetPlayerName(playeridnamesizeof(name));
    
GetPlayerName(killeridkillasizeof(killa));
    if(
LoadingCashType[playerid] != 0)
    { 
Reply


Messages In This Thread
Problems with filterscript - by howtodo - 04.03.2014, 19:48
Re: Problems with filterscript - by Abagail - 04.03.2014, 19:52
Re: Problems with filterscript - by MattGregory - 04.03.2014, 19:52
Re: Problems with filterscript - by howtodo - 04.03.2014, 19:55
Re: Problems with filterscript - by howtodo - 04.03.2014, 19:57
Re: Problems with filterscript - by howtodo - 04.03.2014, 20:49
Re: Problems with filterscript - by AchievementMaster360 - 04.03.2014, 20:56
Re: Problems with filterscript - by howtodo - 04.03.2014, 21:01
Re: Problems with filterscript - by AchievementMaster360 - 04.03.2014, 21:14
Re: Problems with filterscript - by howtodo - 04.03.2014, 21:28

Forum Jump:


Users browsing this thread: 3 Guest(s)