שלום לכולם ותודה מראש לעוזרים
למה שאני מנסה לעשות כמה פקודות באותו פאבליק זה לא מצליח לי לדוגמא אני עושה ככה:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,COLOR_GREEN,".בלה בלה בלה");
return 1;
}
return 0;
}
{
if (strcmp("/hey", cmdtext, true, 10) == 0)
{
SendClientMessagetoall(COLOR_GREEN,".שלום לכולם");
return 1;
}
return 0;
}
זה עושה לי EROR מישהו יודע למה ?
למה שאני מנסה לעשות כמה פקודות באותו פאבליק זה לא מצליח לי לדוגמא אני עושה ככה:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,COLOR_GREEN,".בלה בלה בלה");
return 1;
}
return 0;
}
{
if (strcmp("/hey", cmdtext, true, 10) == 0)
{
SendClientMessagetoall(COLOR_GREEN,".שלום לכולם");
return 1;
}
return 0;
}
זה עושה לי EROR מישהו יודע למה ?










קצת עלינו
תגובה