Checkpoint 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: Checkpoint problem (
/showthread.php?tid=410953)
Checkpoint problem -
sscarface - 27.01.2013
Код:
case NIGHT_CLUB_CP:
{
if(PlayerInfo[playerid][vLevel] >= 1)
{
SendClientMessage(playerid, RED, "You Are not A Vip Player");
SetPlayerInterior(playerid,2);
SetPlayerPos(playerid,1204.809936,-11.586799,1000.921875);
SetPlayerFacingAngle(playerid,358.0106);
SetPlayerHealth(playerid, 100.0);
SetPlayerArmour(playerid, 100.0);
return 1;
}
Can you fixed it?
(8384) : warning 217: loose indentation
(8386) : warning 217: loose indentation
(8386) : error 014: invalid statement; not in switch
(8386) : warning 215: expression has no effect
(8386) : error 001: expected token: ";", but found ":"
(8386) : error 029: invalid expression, assumed zero
(8386) : fatal error 107: too many error messages on one line
Код:
8386
Код:
: case NIGHT_CLUB_EXIT_CP:
Re: Checkpoint problem -
sscarface - 27.01.2013
fixed.