What's wrong ?
#8

Why do you even need this when playerid is available...
Код:
new id = strval(cmdtext[11]); //this is the id of the player whos team your trying to change
pawn Код:
if(strcmp(cmdtext,"/putzombie", true, 10) == 0)
    {
        team[playerid] = 2;
        infected[playerid] = 0;
        SetPlayerPos(playerid,X,Y,Z);
        SetPlayerColor(playerid,ZRED);
        SetPlayerTeam(playerid, 2);
        SetPlayerHealth(playerid, 200);
        SetPlayerSkin(playerid,162);
        GameTextForPlayer(playerid,"~r~Zombie: ~b~/hide",10000,1);
        return 1;
    }
Reply


Messages In This Thread
What's wrong ? - by marinov - 07.11.2010, 21:51
Re: What's wrong ? - by WillyP - 07.11.2010, 21:56
Re: What's wrong ? - by marinov - 07.11.2010, 21:56
Re: What's wrong ? - by WillyP - 07.11.2010, 21:58
Re: What's wrong ? - by marinov - 07.11.2010, 22:00
Re: What's wrong ? - by marinov - 07.11.2010, 22:05
Re: What's wrong ? - by Scenario - 07.11.2010, 22:09
Re: What's wrong ? - by Th3Angel - 07.11.2010, 22:11
Re: What's wrong ? - by WillyP - 07.11.2010, 22:11
Re: What's wrong ? - by -Rebel Son- - 07.11.2010, 22:29

Forum Jump:


Users browsing this thread: 3 Guest(s)