SA-MP Forums Archive
C++ Function - 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: C++ Function (/showthread.php?tid=74047)



C++ Function - Danut - 19.04.2009

It's the VOID out of pawn ? I've tryed a lil' function and i get a error.

pawn Код:
void CLRSCR()
{
    print(" ");
}
Error: Invalid Function Or Declaration


Re: C++ Function - Weirdosport - 19.04.2009

I looked through the pawn language guide and found no mention, could you show me the documentation that shows the void .. thing?


Re: C++ Function - Danut - 19.04.2009

I can't , but the pawn knows the function VOID


Re: C++ Function - ICECOLDKILLAK8 - 19.04.2009

Quote:
Originally Posted by MoroJr™
I can't , but the pawn knows the function VOID
No, Pawno knows the function void, If you really, really want to use void then put this at the top of your script
pawn Код:
#define void stock
You can now use void

EDIT->OFFTOPIC: MoroJr take the tm out of your name, No one can PM you


Re: C++ Function - Danut - 19.04.2009

sry for OffTopic

You can use this http://files.uploadffs.com/8/d06b8a8e/youcanusethis.bmp


Re: C++ Function - ICECOLDKILLAK8 - 19.04.2009

I cant use this
[img width=960 height=768]http://i476.photobucket.com/albums/rr125/JeNkStA2008/icantusethis.png[/img]
It used to happen to me when i had my name as "JeNkStA" because i couldnt delete my old/new account