need help with this
#7

how to use it as a text color then :P?
PHP код:
CMD:vipad(playerid,params[])
{
    new 
color,string[128], sendername[MAX_PLAYER_NAME];
    if(
sscanf(params,"ss[128]",color,string)) return SendClientMessage(playeridlb,"USAGE:/ad [advertisement]");
    
GetPlayerName(playeridsendernamesizeof(sendername));
    
format(stringsizeof(string), "[Advertisment]: %s, Contact %s ,Phone: %d",  paramssendername ,PlayerInfo[playerid][pNumber]);
    
SendClientMessageToAll(color,string);
    return 
1;

Reply


Messages In This Thread
need help with this - by xMCx - 06.10.2012, 11:45
Re: need help with this - by arakuta - 06.10.2012, 13:18
Re: need help with this - by xMCx - 06.10.2012, 15:28
Re: need help with this - by xMCx - 06.10.2012, 16:38
Re: need help with this - by Faisal_khan - 06.10.2012, 16:44
Re: need help with this - by Danyal - 06.10.2012, 16:47
Re: need help with this - by xMCx - 06.10.2012, 16:49

Forum Jump:


Users browsing this thread: 3 Guest(s)