18.09.2014, 09:43
So, I've got a little question in a case;
What will happen if we return in dialogs, dynamic pickups, checkpoints, etc.
So, what's the difference here and what will happen here:
and here:
Will there be any difference if I return 1 inside after using that "cmd_cnr(playerid, "");"?
What will happen if we return in dialogs, dynamic pickups, checkpoints, etc.
So, what's the difference here and what will happen here:
pawn Код:
public OnPlayerPickUpDynamicPickup(playerid, pickupid)
{
if(pickupid == RandPick[0])
{
cmd_cnr(playerid,"");
return 1;
}
return 1;
}
pawn Код:
public OnPlayerPickUpDynamicPickup(playerid, pickupid)
{
if(pickupid == RandPick[0])
{
cmd_cnr(playerid,"");
}
return 1;
}