[HELP] using streamer
#1

hey i was trying to add a check point for a minigame

pawn Код:
CreateDynamicCP(343.2269,159.9849,1025.7891,10,worldid = 1,interiorid = 1, playerid,Float:distance = 100.0);
Код:
C:\Users\Unlimited DMers\Desktop\Fas FreeRoam\filterscripts\army.pwn(28) : error 017: undefined symbol "worldid"
C:\Users\Unlimited DMers\Desktop\Fas FreeRoam\filterscripts\army.pwn(28) : warning 215: expression has no effect
C:\Users\Unlimited DMers\Desktop\Fas FreeRoam\filterscripts\army.pwn(28) : error 017: undefined symbol "interiorid"
C:\Users\Unlimited DMers\Desktop\Fas FreeRoam\filterscripts\army.pwn(28) : warning 215: expression has no effect
C:\Users\Unlimited DMers\Desktop\Fas FreeRoam\filterscripts\army.pwn(28) : error 017: undefined symbol "playerid"
C:\Users\Unlimited DMers\Desktop\Fas FreeRoam\filterscripts\army.pwn(28) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
please help thanks
Reply
#2

Show some more around that line. Have you defined worldid, interiorid, and playerid?
Reply
#3

oh no how to do that just
Код:
#define worldid
#define interiorid
#define playerid
??
Reply
#4

pawn Код:
CreateDynamicCP(343.2269,159.9849,1025.7891,10,1,1, playerid,100.0);
Reply
#5

perfect thanks
Reply
#6

um how would i allow a team to capture that check point ? im using it for a minigame so this is what i have:

pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    SetTimer("Countdown",7000,0);
    GameTextForPlayer(playerid,"~g~Capturing CP Please Wait....", 7000, 1);
    return 1;
}
then
pawn Код:
public Countdown()
{
    new playerid;
    GameTextForAll("Army Have Won",1000,4);
    GameTextForAll("Starting Next Round",1000,4);
    ForceClassSelection(playerid);
}
but how to add new rounds?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)