Hey all.
#1

How can i use forward public function?
Reply
#2

Just forward them?

pawn Код:
forward test();
public test()
{

//or
forward test(playerid);
public test(playerid)
{
Reply
#3

Quote:
Originally Posted by newbienoob
Посмотреть сообщение
Just forward them?

pawn Код:
forward test();
public test()
{

//or
forward test(playerid);
public test(playerid)
{
pawn Код:
forward test();
public test()
{
//function u want to be done here
}
//or
forward test(playerid);
public test(playerid)
{
//place fuction u want to be done here
}
Reply
#4

Quote:
Originally Posted by trapstar2020
Посмотреть сообщение
pawn Код:
forward test();
public test()
{
//function u want to be done here
}
//or
forward test(playerid);
public test(playerid)
{
//place fuction u want to be done here
}
The best way is to forwad by this way rather than above way
pawn Код:
forward public test();
public test()
{
    //function u want to be done here
}

forward public test(playerid);
public test(playerid)
{
    //place fuction u want to be done here
}
Quote:

The only difference, it seems, is it enforces some extra restrictions. By SLICE

Reply
#5

I would only make forwards for timers. And using stocks
pawn Код:
stock test(playerid)
{
//function
}
Reply
#6

Ok thanks all
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)