[Ajuda] Sistema de Veнculo - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Sistema de Veнculo (
/showthread.php?tid=597562)
Pegar Senha Correta -
capron - 02.01.2016
Qual o problema dessa linha?
Quote:
if (strcmp(AHouseData[APlayerData[OtherPlayer][CurrentHouse]][PassCar], inputtext, false) == 0)
{
|
To com problema porquк ele nгo estб reconhecendo a senha corretamente..!
Alguem Ajuda
-
Sampapre - 03.01.2016
Quote:
if (strcmp(AHouseData[APlayerData[OtherPlayer][CurrentHouse][PassCar], inputtext, false) == 0)
{
|
Tenta AGR copia esse aqui, eu acho que e isso
N sei se e isso.
Re: Sistema de Veнculo -
BykiLler - 03.01.2016
Poste a parte da script de AHouseData
Re: Sistema de Veнculo -
capron - 03.01.2016
Samppre nгo funfou, pois vocк tirou o parкntese que fechava o APlayerData..!
Mas Obg..
Script AHouseData
http://pastebin.com/mGASu60c
Re: Sistema de Veнculo -
BykiLler - 03.01.2016
Po mano desculpa cara essa script esta muito grande , voce deve ser novo , use PasteBin se for scripts grandes e dк umas lida nas regras...
Quote:
if (strcmp(APlayerData[PassCar], inputtext, false) == 0 || strcmp(AHouseData[OtherPlayer] , inputtext, false) == 0 || strcmp(APlayerData[CurrentHouse] , inputtext, false) == 0 || strcmp(APlayerData[OtherPlayer] , inputtext, false) == 0 )
{
|
Re: Sistema de Veнculo -
capron - 03.01.2016
Sou novo cara, peзo desculpas, mas jб coloquei na pastebin !
Eu li as regras, mas n me recordei disso, vlw!
Deu seguinte erro .
Quote:
C:\Documents and Settings\PC\Desktop\MeuServ\pawno\include\PPC_Dial ogs.inc(3161) : warning 213: tag mismatch
C:\Documents and Settings\PC\Desktop\MeuServ\pawno\include\PPC_Dial ogs.inc(3161) : error 032: array index out of bounds (variable "APlayerData")
|
Talvez seja esta parte:
Quote:
if (strcmp(APlayerData[PassCar], inputtext, false) == 0
|
Pois o PassCar pertence a AHouseData, nгo ao APlayerData..
Mas msm mudando da erro