21.06.2010, 10:06
If you have the command in the FS and if you want to call from within the FS then use the code
under OnPlayerConnect in the FS.
If you want to put the call under the GM's OnPlayerConnect, use
Quote:
Originally Posted by DJDhan
Under OnPlayerConnect
Код:
new str[128]; format(str,128,"/snow"); CallLocalFunction("OnPlayerCommandText", "is", playerid, str)); |
If you want to put the call under the GM's OnPlayerConnect, use
Код:
new str[128]; format(str,128,"/snow"); CallRemoteFunction("OnPlayerCommandText", "is", playerid, str));