1 error
#1

pawn Код:
C:\DOCUME~1\ADMINI~1\Desktop\P\(2198) : error 017: undefined symbol "SMUGGLER"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Line 2198

pawn Код:
SetPlayerTeam(playerid, SMUGGLER);
full code

pawn Код:
case 3: // Smuggler
            {
                SetPlayerTeam(playerid, SMUGGLER);
                ChoosingRole[playerid] = 0;
                TogglePlayerControllable(playerid, true);
                GivePlayerWeapon(playerid, 2, 1);
                GivePlayerWeapon(playerid, 23, 250);
                GivePlayerWeapon(playerid, 30, 24);
            }
help me please.
Reply
#2

extra info:
i followed this tutorial
http://forum.sa-mp.com/showthread.ph...ht=Jobs+server
but i want to have a new job for civilian so i added it as a case ie case 3
am i missing something?
why do i have that error, i am still new at pawno please help.
Reply
#3

You didn't define what SMUGGLER is/for.
Reply
#4

how do i do that ?
Reply
#5

^^ Exactly.

Add
Код:
#define SMUGGLER value
You will have to replace 'value' with the number you want. Example: If TEAM SMUGGLER is Team # 3, change value to 3. If it is team # 15 change it to 15 etc.

Example:
pawn Код:
#define SMUGGLER 4
Recommended that you place before usage, under #include's preferably.
Reply
#6

Thanks guys, you both were really helpful
fixed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)