AddHouse Help
#1

Hi everybody, it's me again with a problem this time.
i added
forward AddHouse();
and i need to make a public function..and idk how, can you help me?
Reply
#2

pawn Код:
forward AddHouse(para1,para2,para3,para4...);
public AddHouse(......)
{
    return 1;
}
you can make something like this
Reply
#3

pawn Код:
#include <a_samp>
//Forwards:
AddHouse();


........
........
...........

public AddHouse(playerid);

//do something here
   return 1;
}
Reply
#4

...? hm....
pawn Код:
forward AddHouse(id,houseid);
       public OnPlayerConnect(playerid)
      {
             SetTimerEx("AddHouse",2000,true,"ud",id,houseid);
              return 1;
      }
    public AddHouse(id,houseid)
    {
               //do something here
           return 1;
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)