SA-MP Forums Archive
Help me please !!! - 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)
+--- Thread: Help me please !!! (/showthread.php?tid=513367)



Help me please !!! - anassmaroc - 15.05.2014

Код:
error 012: invalid function call, not a valid address
warning 215: expression has no effect
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 107 too many error messages on one line
FOR

new pFile[35];
format(pFile, 35, Player_File, GetName(playerid));



Re : Help me please !!! - Ramoboss - 16.05.2014

Tell me were you put this please ?

and also,

replace : format(pFile, 35, Player_File, GetName(playerid));
by : format(pFile, sizeof(pFile), Player_File, GetName(playerid));


Re: Help me please !!! - anassmaroc - 16.05.2014

But will not change anything

Same problem




Re: Help me please !!! - rockhopper - 16.05.2014

Show whole script please


Re: Help me please !!! - Konstantinos - 16.05.2014

How did you define those symbols: Player_File and GetName?


Re: Re : Help me please !!! - doreto - 16.05.2014

Quote:
Originally Posted by Ramoboss
Посмотреть сообщение
Tell me were you put this please ?

and also,

replace : format(pFile, 35, Player_File, GetName(playerid));
by : format(pFile, sizeof(pFile), Player_File, GetName(playerid));
It doesn’t matter if you sizeof pFile which is 35 or just the number of string.


Re: Help me please !!! - rockhopper - 16.05.2014

Please show us your whole script ...


Re: Help me please !!! - Sojo12 - 16.05.2014

Quote:
Originally Posted by rockhopper
Посмотреть сообщение
Please show us your whole script ...
What do you mean by show the whole script?You want him to post his entire gm?
EDIT:
Off Topic:rockhopper your siggy says 'I am making a server that has never been made in SA-MP HISTORY'
Are you planning to make GTA 5


Re: Help me please !!! - rockhopper - 16.05.2014

nope an epic 5 gm server wann join me
@ sojo12 and whole script means a little more lines the prob can be there too ...


Re : Help me please !!! - Ramoboss - 16.05.2014

The error that he show us tells that he put his script in the wrong place
Show us the whole script (not the gm)