Error 006:
#1

Код:
	if(dialogid == 17)   // daca a cumparat cartela :)
    {
        if(!strlen(inputtext)) { SendClientMessage(playerid, COLOR_RED, "Info: Trebuie sa scrii nr de telefon."); return 1; }
		if(response)
        {
            new message[128];
			GivePlayerCash(playerid, - 100);
			TogglePlayerControllable(playerid, true);
			PlayerInfo[playerid][pPhonenumber] = inputtext;
			format(message, sizeof(message), "Vodafone: Acum poti fi contactat si pe telefon. Numarul tau este: %s", inputtext);
        	SendClientMessage(playerid, COLOR_GREEN, message);
        }
	}
Код:
PlayerInfo[playerid][pPhonenumber] = inputtext;
This is the line. Idk...
What is wrong?
Reply
#2

post the error please?
Reply
#3

Код:
C:\Documents and Settings\Ganja\Desktop\SAMP SERVER\gamemodes\SWRP.pwn(2146) : error 006: must be assigned to an array
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
and this is the line
Код:
PlayerInfo[playerid][pPhonenumber] = inputtext;
Reply
#4

pawn Код:
PlayerInfo[playerid][pPhonenumber] = strval(inputtext);
Reply
#5

argh u ^^^
Reply
#6

I'm a shit .
10x a lot hiddos, willsuckformoney too...
Reply
#7

Pwned again ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)