Best way to get a players text
#2

Код:
if(!strcmp(cmdtext,"/text",true,5))
{
if(!cmdtext[7])return SendClientMessage(playerid,0xFFFFFFFF,"use /text [text]");
return SendClientMessage(playerid,0xFFFFFFFF,cmdtext[7]);
}
Not the best but rly easy, you can use strtok Function from Compu Phase , i think thats the best Method
Reply


Messages In This Thread
Best way to get a players text - by Torran - 20.02.2010, 17:27
Re: Best way to get a players text - by BlackFoX - 20.02.2010, 17:55
Re: Best way to get a players text - by Torran - 20.02.2010, 17:58
Re: Best way to get a players text - by BlackFoX - 20.02.2010, 18:04
Re: Best way to get a players text - by Torran - 20.02.2010, 18:09
Re: Best way to get a players text - by Torran - 21.02.2010, 14:42
Re: Best way to get a players text - by Rizard - 21.02.2010, 14:57
Re: Best way to get a players text - by Nero_3D - 21.02.2010, 15:16
Re: Best way to get a players text - by Torran - 21.02.2010, 15:27
Re: Best way to get a players text - by Rzzr - 21.02.2010, 15:33

Forum Jump:


Users browsing this thread: 1 Guest(s)