SA-MP Forums Archive
Problam with function to add space - 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: Problam with function to add space (/showthread.php?tid=265613)



Problam with function to add space - tal_peretz - 01.07.2011

PHP код:
stock AddSpace(NumberSpace)
{
new 
string[30];
    for(new 
1<= NumberSpacei++)
    
format(string,30,"%s ",string);
    
return 
string;

I tried to add space to string, and I used the string and it is didn't add space........ Why ?


Re: Problam with function to add space - tal_peretz - 01.07.2011

JUMP


Re: Problam with function to add space - Haydn - 01.07.2011

Quote:
Originally Posted by tal_peretz
Посмотреть сообщение
JUMP
[ame]http://www.youtube.com/watch?v=wlq0lYB3iSM[/ame]

There. Jump.

I don't even know that there is an addspace command. It can crash a server.


Re: Problam with function to add space - tal_peretz - 01.07.2011

very funny........ help me here please if you can -

http://forum.sa-mp.com/showthread.ph...71#post1271171