function(playerid) no forwarding or public?
#1

Didn't know this was possible

pawn Код:
Unfreeze(playerid)
{
    TogglePlayerControllable(playerid,1);
}
Reply
#2

So what do you want ?

Suggest to make it into a stock and then u will need to return a value as well.
Reply
#3

Quote:
Originally Posted by park4bmx
Посмотреть сообщение
Suggest to make it into a stock and then u will need to return a value as well.
No and no. A function only needs to return a value if that value is used somewhere. The stock modifier only hides the function when it's not being used.
Reply
#4

Take a look at this page: https://sampwiki.blast.hk/wiki/Public_functions

If he uses that function, then it's fine. But if he doesn't, then he'll need to add the 'stock' to prevent the warning.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)