Compiling my script doesn't show any output
#6

pawn Код:
forward createMBag(x, y, z, position[]);
public createMBag();
Should be
pawn Код:
forward createMBag(Float:x, Float:y, Float:z, position[]);
public createMBag(Float:x, Float:y, Float:z, position[])
First, you didn't add parameters to the public, only the forward.
Second, you need to use floats for coordinates, or numbers that has decimals, and as well i removed the semicolon.

EDIT: Same with the MoneyBag public you created, remove the semicolon, only the forward needs it.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)