23.02.2013, 02:51
So I had a command (/login) that would spawn the player automatically using
but I decided the command was a bit old school so I added a dialog box instead. My only problem is that now after the player logs in it doesn't spawn them. I tried to make a timer to wait for a second after the box closes to spawn the player in hopes that this would fix the problem.
I think my problem is that I use (playerid) but I can't use SpawnPlayer without using playerid so I'm not sure why it won't allow me to use playerid. If anyone could shed some light that'd be great.
igdev.pwn(209) : error 076: syntax error in the expression, or invalid function call
pawn Код:
SpawnPlayer(playerid);
pawn Код:
forward OneSecondTimer(playerid);
public OneSecondTimer(playerid)
{
SpawnPlayer(playerid);
return 1;
}
pawn Код:
SetTimer(OneSecondTimer, 1000, false);
igdev.pwn(209) : error 076: syntax error in the expression, or invalid function call