SA-MP Forums Archive
error 017: undefined symbol "PlayerPokerUI" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: error 017: undefined symbol "PlayerPokerUI" (/showthread.php?tid=559554)



error 017: undefined symbol "PlayerPokerUI" - Zyova - 24.01.2015

./includes/textdraws.pwn(4) :error 017: undefined symbol "PlayerPokerUI"

Help!


Respuesta: error 017: undefined symbol "PlayerPokerUI" - Zume - 24.01.2015

Do you not understand? says it clearly has not defined "PlayerPokerUI". You have to define it, could give us more information about what it is and could help him telling how to define it.


Re: error 017: undefined symbol "PlayerPokerUI" - Abagail - 24.01.2015

This is why you shouldn't use leaked gamemodes(this is obviously the ngrp leak).


Re: error 017: undefined symbol "PlayerPokerUI" - Zyova - 24.01.2015

Give me example,and i confuse,what i must write in #dfine or at enum or new blah[];...so this error not came before i add this
PHP код:
if (strcmp(cmd"/createcustomtext"true) == 0)
{
    new 
tmp[150];
    new 
string[512];
    if (
PlayerInfo[playerid][pAdmin] >= 1337)
    {
        
tmp strtok(cmdtextidx);
        if (!
strlen(tmp))
        {
              
SendClientMessage(playerid0xFFFFFFFF"USAGE: /createcustomtext [text]");
            return 
1;
        }
        
strmid(tmpcmdtextstrfind(cmdtext" ") + 1strlen(cmdtext));
        for (new 
0MAX_CUSTOM_TEXTS++)
        {
              if (!
CustomTextEnum[i][ctExists])
            {
                 new 
Float:xFloat:yFloat:zFloat:a;
                
GetPlayerPos(playeridxyz);
                
GetPlayerFacingAngle(playerida);
                
+= (4.0 floatsin(-adegrees));
                
+= (4.0 floatcos(adegrees));
                
+= 5.5;
                
CustomTextEnum[i][ctExists] = true;
                
format(CustomTextEnum[i][ctString], 255tmp);
                
CustomTextEnum[i][ctColor] = 0xFF000000;
                
format(CustomTextEnum[i][ctFont], 32"Arial");
                
CustomTextEnum[i][ctX] = x;
                
CustomTextEnum[i][ctY] = y;
                   
CustomTextEnum[i][ctZ] = z;
                   
CustomTextEnum[i][ctRX] = 0.0;
                  
CustomTextEnum[i][ctRY] = 0.0;
                
CustomTextEnum[i][ctRZ] = 180;
                
CustomTextEnum[i][ctObjectID] = CreateDynamicObject(2885xyz0.00.0a);
                
CustomTextEnum[i][ctSize] = 24;
                   
CustomTextEnum[i][ctModel] = 2885;
                   
CustomTextEnum[i][ctBackColor] = 0xFFFFFFFF;
                
SetDynamicObjectMaterialText(CustomTextEnum[i][ctObjectID], 0Wrap(tmp), ____0xFF0000000xFFFFFFFF1);
                
format(stringsizeof(string), "You have created a custom text (ID: %d)."i);
                
SendClientMessage(playerid, -1string);
                
format(stringsizeof(string), "INSERT INTO `CustomTexts` (`ctID`) VALUES('%d')"i);
                
db_query(CustomTextDBstring);
                
SaveCustomText(i);
                return 
1;
            }
        }
        
SendClientMessage(playerid0xAFAFAFFF"You cannot spawn any more custom texts.");
        return 
1;
    }
    else 
SendClientMessage(playerid0xAFAFAFFF"You are not authorized to use this command.");
    return 
1;




Re: error 017: undefined symbol "PlayerPokerUI" - Zyova - 24.01.2015

Buddy,What should i do ?


Re: error 017: undefined symbol "PlayerPokerUI" - Zyova - 24.01.2015

I write this
PHP код:
#define PlayerPokerUI 
then i've got this https://sampforum.blast.hk/showthread.php?tid=559556


Re: error 017: undefined symbol "PlayerPokerUI" - Abagail - 24.01.2015

This should help,

pawn Код:
new PlayerTextDraw: PlayerPokerUI[MAX_PLAYERS];



Re: error 017: undefined symbol "PlayerPokerUI" - Zyova - 24.01.2015

Quote:
Originally Posted by Abagail
Посмотреть сообщение
This is why you shouldn't use leaked gamemodes(this is obviously the ngrp leak).
I don't know,i download Much GameMode and I choose that,for learn SAMP Scrift.


Re: Respuesta: error 017: undefined symbol "PlayerPokerUI" - Zyova - 24.01.2015

Quote:
Originally Posted by _Zume
Посмотреть сообщение
Do you not understand? says it clearly has not defined "PlayerPokerUI". You have to define it, could give us more information about what it is and could help him telling how to define it.
You can call me Noob


Re: error 017: undefined symbol "PlayerPokerUI" - fonia5 - 24.01.2015

Quote:
Originally Posted by Abagail
Посмотреть сообщение
This is why you shouldn't use leaked gamemodes(this is obviously the ngrp leak).
How do you know if it's NGRP leak? however, he is allowed to use it because when i reported a server to them they didn't even care about it.