02.01.2011, 13:06
(
Последний раз редактировалось RPF; 02.01.2011 в 15:05.
)
When i try to upload a zip folder into scriptfiles it doesnt let me upload folders,help ( serverffs )
if(strcmp(cmdtext, "/help", true)==0) return SendClientMessage(playerid, YOURCOLOR, "This is a test server,we only have /rf and /kill scripted manually");
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0xFF9900AA, "This is a test server,we only have /rf and /kill scripted manually");
return 1;
}
#define COLOR_WHITE 0xFFFFFFAA
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/help",cmdtext ,true ,5) == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "This is a test server,we only have /rf and /kill scripted manually");
return 1;
}
return 0; // Returns : "SERVER: Uknown command" else nothing.
}
I'm not sure what did you do in your SendPlayerMessageToPlayer function, but I guess you could do it using SendClientMessage too.
(Correct me if I'm wrong). pawn Код:
|
I thought that will help,but it said the same thing with that. And btw,color doesnt work
|
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0xFF9900AA, "This is a test server,we only have /rf and /kill scripted manually");
return 1;
}
I thought that will help,but it said the same thing with that. And btw,color doesnt work
|