checkpoint help
#1

ok on my spawn i have
pawn Код:
CreateDynamicCP(2459.3242,-1690.7711, 13.5471, 1.5, -1,-1,-1,100.0); //1st onplayerentercheckpoint
CreateDynamicCP(2452.3242,-1690.7711, 13.5471, 1.5, -1,-1,-1,100.0); //2nd onplayerentercheckpoint
and OnPlayerEnterCheckpoint

pawn Код:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"Grove Street","Grove Street is a gang.\nLong time ago ballaz killed the grove leader's mom so then\ngrove will fight with them. Grove Street owns this place","Close","");
    ShowPlayerDialog(playerid,2,DIALOG_STYLE_MSGBOX,"Grove Street","BackYard","Close","");
why when i enter both of theem it shows backyard !!!
Reply
#2

You need to give them id's

pawn Код:
checky1 = CreateDynamicCP(2459.3242,-1690.7711, 13.5471, 1.5, -1,-1,-1,100.0); //1st onplayerentercheckpoint
checky2 = CreateDynamicCP(2452.3242,-1690.7711, 13.5471, 1.5, -1,-1,-1,100.0); //2nd onplayerentercheckpoint
Peace...
Reply
#3

i still have problems
Reply
#4

CAN ANYONE HELP ME PLEASE, IM USING http://forum.sa-mp.com/showthread.ph...light=streamer
Reply
#5

OMFG PLEASEE HELP ME!!!!!
Reply
#6

PLEASE GUYS HELP ME!!!! I WAITED FOR LIKE 2HOURS NOW
Reply
#7

Код:
CHECKPOINT1 = CreateDynamicCP(2459.3242,-1690.7711, 13.5471, 1.5, -1,-1,-1,100.0); 
CHECKPOINT2 = CreateDynamicCP(2452.3242,-1690.7711, 13.5471, 1.5, -1,-1,-1,100.0);
Код:
public OnPlayerEnterCheckpoint(playerid)
{
     switch(YOU_CODE_THAT_CHECKS_CHECKPOINTS)// e.g gPlayerCheckPointStatus - From Basic GF.
     case CHECKPOINT1:
     {
          ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"Grove Street","Grove Street is a gang.\nLong time ago ballaz killed the grove leader's mom so then\ngrove will fight with them. Grove Street owns this place","Close","");
     }
     case CHECKPOINT2:
     {
         ShowPlayerDialog(playerid,2,DIALOG_STYLE_MSGBOX,"Grove Street","BackYard","Close","");					
     }
}
Reply
#8

Quote:
Originally Posted by tanush
Посмотреть сообщение
PLEASE GUYS HELP ME!!!! I WAITED FOR LIKE 2HOURS NOW

https://sampforum.blast.hk/showthread.php?tid=45235

OMG chill, read the damn rules
Reply
#9

Код:
D:\Users\Tanush\Desktop\SA-MP\filterscripts\Checkpoint.pwn(139) : warning 200: symbol "YOU_CODE_THAT_CHECKS_CHECKPOINT" is truncated to 31 characters
D:\Users\Tanush\Desktop\SA-MP\filterscripts\Checkpoint.pwn(139) : error 017: undefined symbol "YOU_CODE_THAT_CHECKS_CHECKPOINT"
D:\Users\Tanush\Desktop\SA-MP\filterscripts\Checkpoint.pwn(140) : error 001: expected token: "{", but found "case"
D:\Users\Tanush\Desktop\SA-MP\filterscripts\Checkpoint.pwn(144) : error 008: must be a constant expression; assumed zero
D:\Users\Tanush\Desktop\SA-MP\filterscripts\Checkpoint.pwn(148) : error 002: only a single statement (or expression) can follow each "case"
D:\Users\Tanush\Desktop\SA-MP\filterscripts\Checkpoint.pwn(148) : warning 215: expression has no effect
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Reply
#10

Quote:
Originally Posted by marinov
Посмотреть сообщение
..But... That would take him ANOTHER TWO HOURS OMG!!one!1!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)