SA-MP Forums Archive
[WORKING] thanks for the help Joe Torran C - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [WORKING] thanks for the help Joe Torran C (/showthread.php?tid=145829)



[WORKING] thanks for the help Joe Torran C - BigM - 04.05.2010

Can someone help me with this:

if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(0x8080FFFF,"/commands");
return 1;
}

If i compile i get this error:

.....\Desktop\samp03asvr_R4_win32\gamemodes\LVRP.p wn(117) : error 035: argument type mismatch (argument 2)


Re: SendClientMessage when i compile not working !?? - Torran - 04.05.2010

pawn Код:
SendClientMessage(playerid, 0x8080FFFF,"/commands");



Re: SendClientMessage when i compile not working !?? - BigM - 04.05.2010

Quote:
Originally Posted by Joe Torran C
pawn Код:
(playerid,;
Yes i typed that also and it is not working,
i just forgot to type it here


Re: SendClientMessage when i compile not working !?? - Torran - 04.05.2010

Nothing else is wrong,
Are you sure your putting it in the right place?

Show me it with playerid


Re: SendClientMessage when i compile not working !?? - BigM - 04.05.2010

pawn Код:
SendClientMessage(playerid,0x8080FFFF,"/commands");
Now it is working
that is strange 5 minutes ago it didnt worked,
but anyway thanks for the help