Error 006: - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Error 006: (
/showthread.php?tid=168058)
Error 006: -
csganja - 14.08.2010
Код:
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?
Re: Error 006: -
willsuckformoney - 14.08.2010
post the error please?
Re: Error 006: -
csganja - 14.08.2010
Код:
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;
Re: Error 006: -
Hiddos - 14.08.2010
pawn Код:
PlayerInfo[playerid][pPhonenumber] = strval(inputtext);
Re: Error 006: -
willsuckformoney - 14.08.2010
argh u ^^^
Re: Error 006: -
csganja - 14.08.2010
I'm a shit

.
10x a lot hiddos, willsuckformoney too...
Re: Error 006: -
Claude - 14.08.2010
Pwned again ...