Raised This Month: $ Target: $400
 0% 

Call fuctions


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Monster Truck
Member
Join Date: Jan 2012
Location: France
Old 01-14-2014 , 14:54   Call fuctions
Reply With Quote #1

Hi, as a beginner in scripting, i don't even know some basics thing

Today (or tomorrow ^^') i want to know how to call a function when another one is finished.

Example :

PHP Code:
public race(id

   new 
menu menu_create("Choisis ta classe de Garde""ct_menu"
   
menu_additem(menu"\wMilitaire \y- \w[ \rM4 \w+ \rDeagle \w]""1"
   
menu_additem(menu"\wSniper \y- \w[ \rAwp \w+ \rDeagle \w]""2"
   
menu_additem(menu"\wMarine \y- \w[ \rMitrailleuse \w+ \rUsp \w]""3"
   
menu_additem(menu"\wGarde \y- \w[ \rAk47 \w+ \rDeagle \w+ \rFlash \w]""4"
   
menu_setprop(menuMPROP_EXITNAME"Quitter"
   
menu_setprop(menuMPROP_EXITMEXIT_ALL
   
menu_display(idmenu

I want this menu to be showed when another function is finished, so i think i need a way to check
it (fuction finished)

Thanks for read, and for help.

Last edited by Monster Truck; 01-14-2014 at 14:55.
Monster Truck is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode