Skripta koju koristim:edit be v1.1
Detaljan opis problema:Problem u tome sto sam nesto edit i sad na kraju krajeve kad se igrac registruje pare ne dobija uopste nego ono 000000000 kako da sredim da nemam problem sa tim ?
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
[Pomoc] registracija
411
pregleda
9
postova
20. Okt. 2013.
|DC-Owner| Pinki ツ √ wrote on October 20, 2013, 11:27 am:
Postaj ovdje dialoge od registera , koji sistem registracije koristiš?
u koju liniju to da nadjem ?
Hah , kad ti se igrać registrira sigurno postoji neki callback gdje ti seta level , pare itd sad ti meni trebaš postat to ovdje , jel ima callback OnPlayerRegister?
20. Okt. 2013.
Igrac dobija 20k ali u IG ne ucitavaju se uopste !
public OnPlayerEnterCheckpoint(playerid)
{
if(GPSAktivan == 1)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "~r~Stigli ste na odrediste", 2500, 1);
//DestroyDynamicObject(GPSObjekat);
GPSAktivan = 0;
//GPSTD2(playerid, 0, "_");
}
new string;
new string2;
new name;
if(AvionCP == 1)
{
if(GetPlayerInterior(playerid) == 1)
{
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, SIVA, "");
SCM(playerid, SVETLOZUTA, "");
AvionCP = 2;
LoadObjects(playerid, 5);
JBC_TogglePlayerControllable(playerid, 0);
SetPlayerInterior(playerid, 14);
JBC_SetPlayerPos(playerid,1713.1504,-1607.0586,999.4023);
SetCameraBehindPlayer(playerid);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerCheckpoint(playerid,1694.1302,-1615.0175,995.9142, 5.0);
GivePlayerMoney(playerid,20000);
PI = 1;
}
return 1;
}20. Okt. 2013.
|DC-Owner| Pinki ツ √ wrote on October 20, 2013, 1:22 pm:
Igrac dobija 20k ali u IG ne ucitavaju se uopste !
public OnPlayerEnterCheckpoint(playerid)
{
if(GPSAktivan == 1)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "~r~Stigli ste na odrediste", 2500, 1);
//DestroyDynamicObject(GPSObjekat);
GPSAktivan = 0;
//GPSTD2(playerid, 0, "_");
}
new string;
new string2;
new name;
if(AvionCP == 1)
{
if(GetPlayerInterior(playerid) == 1)
{
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, SIVA, "");
SCM(playerid, SVETLOZUTA, "");
AvionCP = 2;
LoadObjects(playerid, 5);
JBC_TogglePlayerControllable(playerid, 0);
SetPlayerInterior(playerid, 14);
JBC_SetPlayerPos(playerid,1713.1504,-1607.0586,999.4023);
SetCameraBehindPlayer(playerid);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerCheckpoint(playerid,1694.1302,-1615.0175,995.9142, 5.0);
GivePlayerMoney(playerid,20000);
PI = 1;
}
return 1;
}OMG Pa to je neki CP za poslove , OnPlayerRegister a ne OnPlayerEnterCheckpoint
Hustler
Novi Član
90 / 100 XP
🌱Početnik(0)
81
Postovi:
13
Teme:
Pridružio se:Nov. 2012
20. Okt. 2013.
probaj da umesto GivePlayerMoney(playerid,20000); stavis JBC_GivePlayerMoney(playerid,20000);
20. Okt. 2013.
Geraldihno wrote on October 20, 2013, 1:22 pm:
Igrac dobija 20k ali u IG ne ucitavaju se uopste !
public OnPlayerEnterCheckpoint(playerid)
{
if(GPSAktivan == 1)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "~r~Stigli ste na odrediste", 2500, 1);
//DestroyDynamicObject(GPSObjekat);
GPSAktivan = 0;
//GPSTD2(playerid, 0, "_");
}
new string;
new string2;
new name;
if(AvionCP == 1)
{
if(GetPlayerInterior(playerid) == 1)
{
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, SIVA, "");
SCM(playerid, SVETLOZUTA, "");
AvionCP = 2;
LoadObjects(playerid, 5);
JBC_TogglePlayerControllable(playerid, 0);
SetPlayerInterior(playerid, 14);
JBC_SetPlayerPos(playerid,1713.1504,-1607.0586,999.4023);
SetCameraBehindPlayer(playerid);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerCheckpoint(playerid,1694.1302,-1615.0175,995.9142, 5.0);
GivePlayerMoney(playerid,20000);
PI = 1;
}
return 1;
}OMG Pa to je neki CP za poslove , OnPlayerRegister a ne OnPlayerEnterCheckpoint
nema brateeee,tu je namesteno da se dobija novac ali ja sam uklonio TUT kapiras ?
20. Okt. 2013.
|DC-Owner| Pinki ツ √ wrote on October 20, 2013, 1:22 pm:
Igrac dobija 20k ali u IG ne ucitavaju se uopste !
public OnPlayerEnterCheckpoint(playerid)
{
if(GPSAktivan == 1)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "~r~Stigli ste na odrediste", 2500, 1);
//DestroyDynamicObject(GPSObjekat);
GPSAktivan = 0;
//GPSTD2(playerid, 0, "_");
}
new string;
new string2;
new name;
if(AvionCP == 1)
{
if(GetPlayerInterior(playerid) == 1)
{
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, BELA, " ");
SCM(playerid, SIVA, "");
SCM(playerid, SVETLOZUTA, "");
AvionCP = 2;
LoadObjects(playerid, 5);
JBC_TogglePlayerControllable(playerid, 0);
SetPlayerInterior(playerid, 14);
JBC_SetPlayerPos(playerid,1713.1504,-1607.0586,999.4023);
SetCameraBehindPlayer(playerid);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerCheckpoint(playerid,1694.1302,-1615.0175,995.9142, 5.0);
GivePlayerMoney(playerid,20000);
PI = 1;
}
return 1;
}OMG Pa to je neki CP za poslove , OnPlayerRegister a ne OnPlayerEnterCheckpoint
nema brateeee,tu je namesteno da se dobija novac ali ja sam uklonio TUT kapiras ?
OnPlayerEnterCheckpoint jel vidiš da si stavio pod taj callback , Jel to tvoj neki GM od 0 ?
Jel ima kakav dialog oko registera ? NaÄ‘i REGISTER_DIALOG ili DIALOG_REGISTER , mora neÅ¡to tako bit inaÄe ti dialozi budu na poÄetku OnDialogResponse
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava