Symbol error
#1

C:\Users\USER\Desktop\Server\gamemodes\BB-RP.pwn(757) : error 017: undefined symbol "playerid"

How to fix this?
Reply
#2

are you sure you have included a_samp?
Reply
#3

You're using playerid somewhere where there is no playerid.
Show us the code.
Reply
#4

We can not guess the code show the code please
Reply
#5

Well, they are right, code needs to be shown inorder to help you.
Reply
#6

Which part of the code?
Reply
#7

Quote:
Originally Posted by mzazon
Посмотреть сообщение
are you sure you have included a_samp?
lol.
Reply
#8

Quote:
Originally Posted by Mionee
Посмотреть сообщение
lol.
?
Reply
#9

I replied to mzazon's post, not sure how you couldn't figure that out.

Regardless:

Quote:
Originally Posted by Jigsaw123
Посмотреть сообщение
Which part of the code?
The part of the code which returns the error, obviously.
Reply
#10

Lines 751 - 780

Код:
  	TextDrawShowForPlayer(playerid, Textdraw0);
  	TextDrawShowForPlayer(playerid, Textdraw1);
  	TextDrawShowForPlayer(playerid, Textdraw2);
	TextDrawShowForPlayer(playerid, Textdraw3);
	TextDrawShowForPlayer(playerid, Textdraw4);
  	TextDrawShowForPlayer(playerid, Textdraw5);
	TextDrawShowForPlayer(playerid, Textdraw6);
	TextDrawShowForPlayer(playerid, Textdraw7);
	
	SetTimerEx("ChatClear",1000, false, "i", playerid);

 	new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));

	InterpolateCameraPos(playerid, 380.2796, -340.6636, 49.3404, -162.2861, 157.5699, 53.6954, 150000);
	InterpolateCameraLookAt(playerid, 381.0202, -341.3334, 49.4304, -162.9535, 158.3127, 53.8754, 100000);
	
    SetPlayerMapIcon(playerid, 1, 373.4215, -275.4926, 1.0578, 9, 0, MAPICON_LOCAL);
	SetTimer("LevelTimer", 1800000, true);

    TogglePlayerSpectating(playerid, 1); 
    SetPlayerPos(playerid, -162.9535, 158.3127, 53.8754);

    if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Login", "Type your password below to login.", "Login", "Quit");
    }

    else ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "Register", "Type your password below to register a new account.", "Register", "Quit");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)