getarg help
#1

Code:
TestArg(2, 3);
pawn Code:
stock TestArg(...)
{
      printf("%i %i", getarg(0, 0), getarg(1, 0));
}
It only gets numbers.. how can i get strings? ie:

Code:
TestArg("FirstString", "2ndString");
And so it prints: FirstString 2ndString
?
Reply


Messages In This Thread
getarg help - by armyoftwo - 26.12.2010, 13:01
Re: getarg help - by DRIFT_HUNTER - 26.12.2010, 13:04
Re: getarg help - by armyoftwo - 26.12.2010, 13:06
Re: getarg help - by RyDeR` - 26.12.2010, 13:06
Re: getarg help - by armyoftwo - 26.12.2010, 13:19

Forum Jump:


Users browsing this thread: 1 Guest(s)