10.12.2011, 23:01
I've looked at most of the tutorials but I feel as though there is more to do with my script to actually make me function better, any ideas or tips? Thanks!
stock pName(playerid)
{
new name[24];
GetPlayerName(playerid, name, 24));
return name;
}
if(!strcmp(cmdtext, "/hello", true, 4))
{
new string[128], name[24];
GetPlayerName(playerid,name,24);
format(string,128,"Hello %s !",name);
SendClientMessage(playerid,-1,string);
}
if(!strcmp(cmdtext, "/hello", true, 4))
{
new string[128];
format(string,128,"Hello %s !",pName);
SendClientMessage(playerid,-1,string);
}