How to add the name to /duty and this object id.
#1

pawn Код:
if (strcmp("/duty3s", cmdtext, true, 10) == 0)
    {   SetPlayerSkin(playerid,287);
        GivePlayerWeapon(playerid,24,100);
        GivePlayerWeapon(playerid,31,1000);
        SetPlayerColor(playerid,0xFF0808);
        new string[35];
        format(string,sizeof(string),"General %i  is Now onduty.","Name");
        SendClientMessage(playerid,0xFFFFFAA,string);
       // player dead
       return 1;
    }
When i do that its only shows numbers and whaen i use %c its show a ex:General N Is Now onduty
Now the Object id:
Reply


Messages In This Thread
How to add the name to /duty and this object id. - by Gangster-rocks - 07.06.2012, 18:23
Re: How to add the name to /duty and this object id. - by zDevon - 07.06.2012, 18:27
Re: How to add the name to /duty and this object id. - by DartakousLien - 07.06.2012, 18:31
Re: How to add the name to /duty and this object id. - by zDevon - 07.06.2012, 18:39
Re: How to add the name to /duty and this object id. - by DartakousLien - 07.06.2012, 19:04

Forum Jump:


Users browsing this thread: 1 Guest(s)