#5

Quote:
Originally Posted by Finn
Посмотреть сообщение
pawn Код:
if (strcmp("/human", cmdtext, true, 10) == 0)
{
    if(GetPVarInt(playerid, "IsZombie") == 0)
    {
        ResetPlayerWeapons(playerid);
        SetPlayerInterior(playerid, 0);
        SetPlayerPos(playerid,-2768.17,-715.08,65.84);
        SendClientMessage(playerid,0x0000BBAA, "Need tips? Type /humanhelp!");
        GivePlayerWeapon(playerid, 33, 150);
        SetPlayerSkin( playerid, 17 );
        return 1;
    }
    else
    {
        SendClientMessage(playerid,COLOR_RED, "You are a zombie, you canno't switch!");
        return 1;
    }
}
What's the /human command for anyway? If players start as a human and zombies cannot change into humans, who will use this command?
It's because i'm not using OnPlayerRequestClass, as there will be many features on the gamemode and that it's needed as it this for it. Could you help now? ^^ Thanks.
Reply


Messages In This Thread
Hey - by FrostedVince - 14.07.2010, 19:59
Re: Hey - by Zezombia - 14.07.2010, 20:05
Re: Hey - by FrostedVince - 14.07.2010, 20:08
Re: Hey - by Finn - 14.07.2010, 20:37
Re: Hey - by FrostedVince - 14.07.2010, 21:10
Re: Hey - by Finn - 14.07.2010, 21:13
Re: Hey - by FrostedVince - 14.07.2010, 21:16
Re: Hey - by FrostedVince - 15.07.2010, 03:49
Re: Hey - by Zezombia - 15.07.2010, 03:52
Re: Hey - by FrostedVince - 15.07.2010, 17:05

Forum Jump:


Users browsing this thread: 1 Guest(s)