HELP ME PLEASE!!!!!
#1

C:\Users\Sondre\Desktop\****\gamemodes\CnR.pwn(134 6) : warning 203: symbol is never used: "playerid"
C:\Users\Sondre\Desktop\****\gamemodes\CnR.pwn(394 9) : error 017: undefined symbol "checkpointid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


can someone help me fix this shit?

Reply
#2

Quote:
Originally Posted by wolfcock
C:\Users\Sondre\Desktop\****\gamemodes\CnR.pwn(134 6) : warning 203: symbol is never used: "playerid"
C:\Users\Sondre\Desktop\****\gamemodes\CnR.pwn(394 9) : error 017: undefined symbol "checkpointid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


can someone help me fix this shit?

We can't realy help you if you don't show us ur code.
Reply
#3

How about just comment line 1346 ( // .... )
Can you show line 3949.
Reply
#4

Quote:
Originally Posted by » JoFi »
How about just comment line 1346 ( // .... )
Can you show line 3949.
public OnPlayerEnterCheckpoint(playerid)
{
switch(checkpointid) // <----- This is the line 3949
{
case DRAG_ROB:
{
canrobdrag[playerid] = true;
if(gTeam[playerid] == TEAM_ROBBERS)
{
GameTextForPlayer(playerid, "~r~/robdrag",3000,3);
SendClientMessage(playerid, 0x00FFFFFF, "Type /robdrag to start robbing the 4 Dragon Casino.");
}
}
case SAND_ROB:
{
canrobsand[playerid] = true;
if(gTeam[playerid] == TEAM_ROBBERS)
{
GameTextForPlayer(playerid, "~r~/robsand",3000,3);
SendClientMessage(playerid, 0x00FFFFFF, "Type /robsand to start robbing the Redsands Casino.");
}
}
case BURGER_ROB:
{
canrobburger[playerid] = true;
if(gTeam[playerid] == TEAM_ROBBERS)
{
GameTextForPlayer(playerid, "~r~/robburger",3000,3);
SendClientMessage(playerid, 0x00FFFFFF, "Type /robburger to start a robbery.");
}
}
case AMMU_ROB:
{
canrobammu[playerid] = true;
if(gTeam[playerid] == TEAM_ROBBERS)
{
GameTextForPlayer(playerid, "~r~/robammu",3000,3);
SendClientMessage(playerid, 0x00FFFFFF, "Type /robammu to start a robbery.");
}
}
case SEX_ROB:
{
canrobsex[playerid] = true;
if(gTeam[playerid] == TEAM_ROBBERS)
{
GameTextForPlayer(playerid, "~r~/robsex",3000,3);
SendClientMessage(playerid, 0x00FFFFFF, "Type /robsex to start a robbery.");
}
}
case PIZZA_ROB:
{
canrobpizza[playerid] = true;
if(gTeam[playerid] == TEAM_ROBBERS)
{
GameTextForPlayer(playerid, "~r~/robpizza",3000,3);
SendClientMessage(playerid, 0x00FFFFFF, "Type /robpizza to start a robbery.");
}
}
case CLUCK_ROB:
{
canrobcluck[playerid] = true;
if(gTeam[playerid] == TEAM_ROBBERS)
{
GameTextForPlayer(playerid, "~r~/robcluck",3000,3);
SendClientMessage(playerid, 0x00FFFFFF, "Type /robcluck to start a robbery.");
}
}
case STRIP_ROB:
{
canrobstrip[playerid] = true;
if(gTeam[playerid] == TEAM_ROBBERS)
{
GameTextForPlayer(playerid, "~r~/robstrip",3000,3);
SendClientMessage(playerid, 0x00FFFFFF, "Type /robstrip to start a robbery.");
}
}
case BURGER_ROB2:
{
canrobburger2[playerid] = true;
if(gTeam[playerid] == TEAM_ROBBERS)
{
GameTextForPlayer(playerid, "~r~/robburger2",3000,3);
SendClientMessage(playerid, 0x00FFFFFF, "Type /robburger2 to start a robbery.");
}
}
case BINCO_ROB:
{
canrobbinco[playerid] = true;
if(gTeam[playerid] == TEAM_ROBBERS)
{
GameTextForPlayer(playerid, "~r~/robbinco",3000,3);
SendClientMessage(playerid, 0x00FFFFFF, "Type /robbinco to start a robbery.");
}
}
case HOSPITAL:
{
canbehealed[playerid] = true;
SendClientMessage(playerid, 0x00FFFFFF, "Welcome to the Hospital!");
SendClientMessage(playerid, 0x00FFFFFF, "Type /heal to heal yourself for $4000!");
}
case AIR_CHECK:
{
canbeair[playerid] = true;
SendClientMessage(playerid, 0x00FFFFFF, "Welcome to the Airport!");
SendClientMessage(playerid, 0x00FFFFFF, "Type /skydive to skydive for $10000!");
}
case CALG_ROB:
{
canrobcalg[playerid] = true;
if(gTeam[playerid] == TEAM_ROBBERS)
{
GameTextForPlayer(playerid, "~r~/robcalg",3000,3);
SendClientMessage(playerid, 0x00FFFFFF, "Type /robcalg to start robbing the Caligulas Casino.");
}
}
case BAR_ROB:
{
canrobbar[playerid] = true;
if(gTeam[playerid] == TEAM_ROBBERS)
{
GameTextForPlayer(playerid, "~r~/robbar",3000,3);
SendClientMessage(playerid, 0x00FFFFFF, "Type /robbar to start robbing the Liquor store.");
}
}
}
return 1;
}
Reply
#5

well on top of it just do
new checkpointid;
Reply
#6

LOCK THIS, FIXED FOR A VEEEERY LONG TIME AGO!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)