Including inside a callback.
#6

Quote:
Originally Posted by Verc
Посмотреть сообщение
Include on top of your script just like normal.

Inside yourmap.pwn
PHP код:
RemoveBuilding(playerid)
{
     
RemoveBuildingForPlayer(...
     
//etc.

Call it in onplayerconnect.

I more recommend you to use y_hooks as it's much easier
Thanks man. I used the code you gave me for my scenario but it kept on giving me errors. I had to add public in front of the function and forward it.
Reply


Messages In This Thread
Including inside a callback. - by Seifspeed - 06.07.2018, 16:45
Re: Including inside a callback. - by Verc - 06.07.2018, 16:47
Re: Including inside a callback. - by Seifspeed - 06.07.2018, 16:48
Re: Including inside a callback. - by Seifspeed - 06.07.2018, 17:01
Re: Including inside a callback. - by Verc - 06.07.2018, 17:02
Re: Including inside a callback. - by Seifspeed - 06.07.2018, 19:21

Forum Jump:


Users browsing this thread: 2 Guest(s)