Announce cmd help Fixed Thx Dice7
#5

Ok i Will Fix U This

Old:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/sf", cmdtext, true, 10) == 0)
    {
        Teleport(playerid,80,-1977.1107,285.8831,35.1719,0);
        Announcecmd(playerid,": go to /sf","asd",1);
        return 1;
    }
    return 0;
}
-------------------------

New:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/sf", cmdtext, true, 10) == 0)
    {
        SetPlayerPos(playerid,-1977.1107,285.8831,35.1719,0);
        SendClientMessage (playerid, COLOR_RED , "Welcome To SF!");
        return 1;

    }
    return 0;
}
it should work
Reply


Messages In This Thread
Announce cmd help Fixed Thx Dice7 - by [SOB]Chris - 13.09.2009, 19:35
Re: Announce cmd help - by dice7 - 13.09.2009, 19:43
Re: Announce cmd help - by [SOB]Chris - 13.09.2009, 20:02
Re: Announce cmd help - by dice7 - 13.09.2009, 20:04
Re: Announce cmd help - by legendario - 13.09.2009, 20:15
Re: Announce cmd help - by _Vortex - 13.09.2009, 20:17
Re: Announce cmd help - by legendario - 13.09.2009, 20:18

Forum Jump:


Users browsing this thread: 1 Guest(s)