How can I use a parameter from a callback?
#4

Do you mean to check in the callback if the variable for that player is 1 or 0? It's indeed possible and pretty much that's what arrays are for.

In a callback with "playerid" parameter you want to check when it's called:
pawn Код:
if (Variable[playerid] == 0)
{
}
OR:
pawn Код:
if (Variable[playerid] == 1)
{
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)