is there a way to put more things in a return?
#1

hey guys,

is there a way to put more things in a return?

so for example:
// codes here
return ShowMenuForPlayer(startmenu, playerid) HasCar[playerid] = 1;

or:

return
{
ShowMenuForPlayer(startmenu, playerid);
HasCar[playerid] = 1;
}

i already tried both of these but is there another way to make this? cuz it would be really nice and would be lot faster in my ondialogresponse cuz else i have to add: HasCar[playerid] = 1; then i have to add that on 570 lines and that takes damn much time AND makes teh script twice that huge , so anyone knows a way to make the return that way?

greets niels
Reply


Messages In This Thread
is there a way to put more things in a return? - by niels44 - 06.05.2012, 14:40
Re: is there a way to put more things in a return? - by Jonny5 - 06.05.2012, 14:43
Re: is there a way to put more things in a return? - by Vince - 06.05.2012, 14:43
Re: is there a way to put more things in a return? - by niels44 - 06.05.2012, 14:47
Re: is there a way to put more things in a return? - by Disturn - 06.05.2012, 16:44

Forum Jump:


Users browsing this thread: 1 Guest(s)