Checking if player is in ....
#7

Quote:
Originally Posted by nezo2001
Посмотреть сообщение
lol sorry
PHP код:
cmd(tazerplayeridparams[]) 

    new 
string[28+MAX_PLAYER_NAME]; 
        if(
PlayerInfo[playerid][pFaction] != 1) return SendClientMessage(playerid, -1"You cannot use this command."); 
    if(
Tazer[playerid] == 0
    { 
        
GivePlayerWeapon(playerid239999); 
        
format(stringsizeof(string),"%s has unholstered his tazer."RemoveUnderScore(playerid)); 
        
ProxDetector(30.0playeridstringPURPLE,PURPLE,PURPLE,PURPLE,PURPLE); 
        
Tazer[playerid] = 1
    } 
    else 
    { 
        
SetPlayerAmmo(playerid230); 
        
format(stringsizeof(string),"%s has holstered his tazer."RemoveUnderScore(playerid)); 
        
Tazer[playerid] = 0
        
ProxDetector(30.0playeridstringPURPLE,PURPLE,PURPLE,PURPLE,PURPLE); 
    } 
    return 
1

works +rep
Reply


Messages In This Thread
Checking if player is in .... - by Lukasz56 - 29.01.2015, 09:22
Re: Checking if player is in .... - by nezo2001 - 29.01.2015, 09:34
Re: Checking if player is in .... - by Lukasz56 - 29.01.2015, 09:39
Re: Checking if player is in .... - by nezo2001 - 29.01.2015, 10:15
Re: Checking if player is in .... - by ATGOggy - 29.01.2015, 10:45
Re: Checking if player is in .... - by JaydenJason - 29.01.2015, 11:17
Re: Checking if player is in .... - by Lukasz56 - 29.01.2015, 14:20

Forum Jump:


Users browsing this thread: 1 Guest(s)