how to add this
#5

Is the code copied off from any gamemode, filterscript or something ? If yes than tell us from where.

If no than i have scripted the whole command again. -

pawn Код:
CMD:announce ( playerid , params [] )
{
    if ( !IsPlayerAdmin ( playerid ) ) return SendClientMessage ( playerid , -1 , "Your not admin" ) ;
    new pName [ MAX_PLAYER_NAME ] ;
    GetPlayerName ( playerid , pName , MAX_PLAYER_NAME ) ;
    new str [128] ;
    format ( str , 128 , "Announcement by %s : %s" , pName , params ) ;
    SendClientMessage ( playerid , -1 , str ) ;
    return 1;
}
Not Tested :S
Reply


Messages In This Thread
how to add this - by [FoR]EveR - 17.03.2012, 08:51
Re: how to add this - by GNGification - 17.03.2012, 08:58
Re: how to add this - by [FoR]EveR - 17.03.2012, 08:59
Re: how to add this - by GNGification - 17.03.2012, 09:02
Re: how to add this - by Ronaldo_raul™ - 17.03.2012, 09:02
Re: how to add this - by [FoR]EveR - 17.03.2012, 09:06
Re: how to add this - by [FoR]EveR - 17.03.2012, 09:08
Re: how to add this - by JJB562 - 17.03.2012, 09:11
Re: how to add this - by [FoR]EveR - 17.03.2012, 09:13
Re: how to add this - by tyler12 - 17.03.2012, 09:17

Forum Jump:


Users browsing this thread: 3 Guest(s)