Witamy na GTAOnline Obecny czas to 2017-12-17, 09:09 Użytkowników: 72561
Strona główna | Użytkownicy | Grupy | Faq | Regulamin | Zaloguj
GTAONLINE.PL
Tematy otagowane jako: bląd.
1. [INNE] GangZone bląd.
[code]public OnPlayerCommandText(playerid, cmdtext[])
{
dcmd(zone,4,cmdtext);
return 0;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 0)
{
if(response)
{
if(listitem == 0)
{
if(Makingzone[playerid] == 1) return SendClientMessage(playerid,COLOR_DARKRED,".: Info: You're already making a zone. Cancel or Save the current one first :.");
ShowPlayerDialog(playerid,1,2,"Color","BluenRednGreennPurplenYellownGreynLightbluenWhitenBlack","Select","Cancel");
Makingzone[playerid] = 1;
}
if(listitem == 1)
{
if(Makingzone[playerid] == 0) return SendClientMessage(playerid,COLOR_DARKRED,".: Info: You're not making a zone. Create one first :.");
new string[128];
KillTimer(Create);
format(string,sizeof(string),"GangZoneCreate(%f,%f,%f,%f);rn",ZMinX,ZMinY,ZMaxX,ZMaxY);
new File:save = fopen("/savedzones.txt", io_append);
fwrite(save, string);
fclose(save);
SendClientMessage(playerid,COLOR_GREENLIGHT,".: Info: Zone created and saved in savedzones.txt :.");
Makingzone[playerid] = 0;
}
if(listitem == 2)
{[/code]


a mam taki bląd

[code]C:UsersKieluDesktoppawnoNowy folderbattlefield.pwn(6590) : error 021: symbol already defined: "OnPlayerCommandText"
C:UsersKieluDesktoppawnoNowy folderbattlefield.p...




phpBB by Przemo modified by xXx 2003-2016

Template GTAONLINE created by gtaonline.pl



Strona wygenerowana w 0,04 sekundy. Zapytań do SQL: 8