Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2012-04-30, 17:47


Elegancik







Wiek: 36
Na forum: 5308 dni
Posty: 8
Nick w MP: Tofik



Respekt: 50

Czesc. Sklejam map?, i wyskakuje mi error :

C:\Users\samsung\Desktop\Stance\SA2.pwn(1016) : error 010: invalid function or declaration
C:\Users\samsung\Desktop\Stance\SA2.pwn(1020) : error 010: invalid function or declaration
C:\Users\samsung\Desktop\Stance\SA2.pwn(2971) : error 012: invalid function call, not a valid address
C:\Users\samsung\Desktop\Stance\SA2.pwn(2972) : error 012: invalid function call, not a valid address
C:\Users\samsung\Desktop\Stance\SA2.pwn(2972) : error 001: expected token: ";", but found ")"
C:\Users\samsung\Desktop\Stance\SA2.pwn(2972) : error 029: invalid expression, assumed zero
C:\Users\samsung\Desktop\Stance\SA2.pwn(2972) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


7 Errors.


Kod z Pierwszych 2 error?w :

FormatFilesString(playerid);
SetPlayerSkin(playerid, dini_Int(strfiles, "Skin"));
new strmsg[64];
switch(reason)
{
case 0: format(strmsg, 64, "# Gracz %s (ID: %d) opu?ci? serwer (Crash).", PlayerName(playerid), playerid);
case 1:
{
SaveData(playerid);
format(strmsg, 64, "# Gracz %s (ID: %d) opu?ci? serwer (Wyszed?).", PlayerName(playerid), playerid);
}
case 2: format(strmsg, 64, "# Gracz %s (ID: %d) opu?ci? serwer (Kick/Ban).", PlayerName(playerid), playerid);
}
DestroyDynamic3DTextLabel(PlayerInfo[playerid][pPlayer3DText]);
KillTimer(PlayerInfo[playerid][UseLoadTimer]);
SendClientMessageToAll(COLOR_GREY, strmsg);
TextDrawHideForPlayer(playerid, PhotoradarTD[playerid]);
KillTimer(PlayerInfo[playerid][pPhotoradarTimer]);
DestroyVehicle(PlayerInfo[playerid][pCar]);
return 1;
}


Reszta :
if(dialogid == 1)
{
if(response)
{
new string[256];
if(strlen(inputtext) <= 3 || strlen(inputtext) >= 32)
return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_PASSWORD, "Rejestracja", "Has?o nie mo?e zawiera? mniej ni? 3 i wi?cej ni? 32 znaki.", "Ponownie", "Zamknij");
djCreateFile(PlayerFile(PlayerName(playerid);
djSetInt(PlayerFile(PlayerName(playerid)), "Konto/Haslo", PlayerPassword(inputtext));
djSetInt(PlayerFile(PlayerName(playerid)), "Postac/Pieniadze", 0);
djSetInt(PlayerFile(PlayerName(playerid)), "Postac/Score", 0);
djSetInt(PlayerFile(PlayerName(playerid)), "Postac/StanVia", 200);
SetPVarInt(playerid, "StanVia", 200);
format(string, sizeof string, "Konto utworzone. Login: {d6bd8b}%s{00aeff}, Has?o: {d6bd8b}%s{00aeff}.", PlayerName(playerid),inputtext);
SendClientMessage(playerid, JasnyNiebieski, string);
SetPVarInt(playerid, "Zalogowany", 1);
}
}

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-04-30, 18:10


MG303







Wiek: 30
Na forum: 6418 dni
Posty: 654

Piwa: 2990

Respekt: 231,6
Respekt: 231,6Respekt: 231,6

Postaw piwo autorowi tego posta
 

 
Tagi: pawno
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » PAWN Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku