AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   how to call functions ? (https://forums.alliedmods.net/showthread.php?t=84490)

DaniDin 01-26-2009 19:13

how to call functions ?
 
hi
i want to call my functions
PHP Code:

public myfunc(id)
{
server_cmd("amx_say Sup ?");


ho to call this fucntion from else function ?

Sn!ff3r 01-27-2009 02:41

Re: how to call functions ?
 
1. id parameter is useless
PHP Code:

public myfunc()
{
server_cmd("amx_say Sup ?");


2. How to call? Simple
PHP Code:

myfunc() 



All times are GMT -4. The time now is 01:47.

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