[Ajuda] String
#1

Код:
new agn[256];
Код:
agn[playerid] = "Varredor de Rua";
depois que copilei:

error 006: must be
Код:
assigned to an array Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Reply
#2

pelo oque entendi o certo seria:

PHP код:
new agn[MAX_PLAYERS]; 
Reply
#3

Код:
new agn[MAX_PLAYERS][128];
Reply
#4

PHP код:
enum tInfo {
    
agn[128]
}
new 
PlayerAGN[MAX_PLAYERS][tInfo];

PlayerAGN[playerid][agn] = "Varredor de Rua"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)