27.05.2009, 17:13
how long YOU script? for one operations like
if(param)do something {} nod't needed -_-
for large operations its required...
normal scripter can also use return func
example:
OnPlayerUpdate(playerid)
{
some for cycle
{
if(some param) return SendClientMessage(params);
}
return 1;
}
this will return public with SendCLient Mesasge
so when operation like this
if(param)do smthn; this will ended on this line and do other check next....
fuk my english -_-
I'm good scripter.. i coded in C#, C++, pascal so i guess me betterknow how to optimise the code ^_^
if(param)do something {} nod't needed -_-
for large operations its required...
normal scripter can also use return func
example:
OnPlayerUpdate(playerid)
{
some for cycle
{
if(some param) return SendClientMessage(params);
}
return 1;
}
this will return public with SendCLient Mesasge
so when operation like this
if(param)do smthn; this will ended on this line and do other check next....
fuk my english -_-
I'm good scripter.. i coded in C#, C++, pascal so i guess me betterknow how to optimise the code ^_^