error when pawning.... with IfPlayerAdmin
#4

Quote:
Originally Posted by LZLo
Посмотреть сообщение
here it is
PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/kill"cmdtexttrue5) == 0)
    {
        
SetPlayerHealth(playerid0);
        return 
1;
    }
    if (
strcmp("/heal"cmdtexttrue5) == 0)
    {
           if(
IsPlayerAdmin(playerid))
    {
        
SetPlayerHealth(playerid100);
    }
    return 
1;
    }
    return 
0;

wtf? when i make that it appeared 26 errors!!!
Reply


Messages In This Thread
error when pawning.... with IfPlayerAdmin - by michael_dark_1 - 29.10.2011, 17:39
Re: error when pawning.... with IfPlayerAdmin - by .:Kaos:. - 29.10.2011, 17:48
Re: error when pawning.... with IfPlayerAdmin - by LZLo - 29.10.2011, 17:48
Re: error when pawning.... with IfPlayerAdmin - by michael_dark_1 - 29.10.2011, 17:51
Re: error when pawning.... with IfPlayerAdmin - by .:Kaos:. - 29.10.2011, 17:55
Re: error when pawning.... with IfPlayerAdmin - by Jochemd - 29.10.2011, 18:01
Re: error when pawning.... with IfPlayerAdmin - by michael_dark_1 - 29.10.2011, 18:14

Forum Jump:


Users browsing this thread: 1 Guest(s)