error 017: undefined symbol "PlayerPokerUI"
#1

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

Help!
Reply
#2

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.
Reply
#3

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

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;

Reply
#5

Buddy,What should i do ?
Reply
#6

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

This should help,

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

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.
Reply
#9

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
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)