script problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: script problem (
/showthread.php?tid=412333)
script problem -
sscarface - 01.02.2013
Sometime player enter on casino so they falling and tp to red country and died. can u tell me what is the problem and how to fix it?
Re: script problem -
Virus. - 01.02.2013
Thats probably because of the lag.
Re: script problem -
sscarface - 01.02.2013
Quote:
Originally Posted by Virus.
Thats probably because of the lag.
|
but all players failling when they enter on casino and yes only on calug casino.
Re: script problem -
Infinity90 - 01.02.2013
Well when they enter the interior place:
pawn Код:
SetTimerEx("LoadInt",2500,0,"i",playerid);
TogglePlayerControllable(playerid, false);
//Then at the bottem on your script:
forward LoadInt(playerid);
public LoadInt(playerid)
{
TogglePlayerControllable(playerid, true);
return 1;
}
Re: script problem -
sscarface - 01.02.2013
Quote:
Originally Posted by Infinity90
Well when they enter the interior place:
pawn Код:
SetTimerEx("LoadInt",2500,0,"i",playerid); TogglePlayerControllable(playerid, false); //Then at the bottem on your script: forward LoadInt(playerid); public LoadInt(playerid) { TogglePlayerControllable(playerid, true); return 1; }
|
thanx i will do it and see what happen.
Re: script problem -
sscarface - 01.02.2013
(4271) : error 017: undefined symbol "playerid"
(4272) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Quote:
SetTimerEx("LoadInt",2500,0,"i",playerid);
TogglePlayerControllable(playerid, false);
|
Re: script problem -
sscarface - 02.02.2013
Quote:
Originally Posted by sscarface
(4271) : error 017: undefined symbol "playerid"
(4272) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
|
someone solve this?