Red Marker
#1

Can somebody help me to make a red marker in-game, players should stay 10 seconds in-game to VIN.
Thanks.
Reply
#2

well, I did a marker by doing SetPlayerCheckpoint, I copy coordinates from class selection and it show me red marker on wrong place. Please help, here what I did: 1st enter pawno, then enter debug, With CJ I go in the place where i want to put marker and write /save. Than I go into pawno write "SetPlayerMarker and copy coordinates from class selection, put it by SetPlayerMarker. What am I doing wrong? Please help.
Reply
#3

AddPlayerClass(118,-2635.3606,1397.4556,7.0938,210.2745, 22, 100, 28, 300, 30, 350);


Only the co-ords in red go in for the

SetPlayerMarker would be SetPlayerMarker (-2635.3606,1397.4556,7.0938,3.5); or something like that
Reply
#4

any why is at the end that 3.5?
Reply
#5

I did it, here is my class selection:
AddPlayerClass(0,-1629.4668,696.9125,48.9375,224.8802,0,0,0,0,0,0); //
and here my Marker:
SetPlayerMarker: (-1629.4668,696.9125,48.9375,3.5)
and I got these warnings:
C:\Documents and Settings\korisnik\Desktop\World war 3\filterscripts\EveningFire.pwn(93) : warning 213: tag mismatch
C:\Documents and Settings\Korisnik\Desktop\World war 3\filterscripts\EveningFire.pwn(93) : warning 202: number of arguments does not match definition

What to do?
Reply
#6

SetPlayerCheckpoint(playerid, 1629.4668, 696.9125, 48.9375, 3.5);

Edit: You will also want to create a timer that is triggered OnPlayerEnterCheckpoint and disabled OnPlayerLeaveCheckpoint. Check out the wiki for more info on these functions.
Reply
#7

Hey thanks Infamous, are you a guy from Mini Missions maybe?
Reply
#8

Yeah i was admin there but work got in the way lol.
Reply
#9

So we are old friends, you remember me, you approved me as moderator.
Reply
#10

Yeah i remember you mate lol
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)