Error
#3

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/help", cmdtext, true, 10) == 0)
    {
        SendClientMessage(playerid,red,"What ya'll need?");
        return 1;
    }
    if (strcmp("/levelup", cmdtext, true, 10) == 0)
    {
        if(GetPlayerMoney(playerid) <3500) return SendClientMessage(playerid,0xAA3333AA, "Not enought money!");
        GivePlayerMoney(playerid, -7500);
        SetPlayerSkin(playerid, 289);
        SetPlayerAttachedObject(playerid,1,19142,1,0.1,0.05,0.0,0.0,0.0,0.0);
        SetPlayerAttachedObject(playerid,2,19141,2,0.11,0.0,0.0,0.0,0.0,0.0);
        SetPlayerAttachedObject(playerid,3,18637,13,0.35,0.0,0.0,0.0,0.0,180.0);
        SetPlayerAttachedObject(playerid,4,18642,7,0.1,0.0,-0.11,0.0,-90.0,90.0);
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Error - by boomerboom - 13.10.2013, 16:27
Re: Error - by xVIP3Rx - 13.10.2013, 16:27
Re: Error - by PT - 13.10.2013, 16:38

Forum Jump:


Users browsing this thread: 1 Guest(s)