Gaby29
Membru-
Posts
26 -
Joined
-
Last visited
Never
Gaby29's Achievements
-
nu... am incercat sa fac asta http://forum.sa-mp.com/showthread.php?t=472252 ... doar am incercat... :D
-
uite tot scriptul [pawn] #include <a_samp> #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Event by SpideR"); print("--------------------------------------\n"); return 1; } #endif new eventorganizer[MAX_PLAYERS]; new requestingevent[MAX_PLAYERS]; new requestingtitle[MAX_PLAYERS][50]; new requestinglocation[MAX_PLAYERS][50]; new requestingdescription[MAX_PLAYERS][100]; new requestingprize[MAX_PLAYERS]; new requestingtime[MAX_PLAYERS][50]; new activeevent; new eventtitle[50]; new eventlocation[50]; new eventdescription[100]; new eventprize; new eventtime[50]; public OnPlayerDisconnect(playerid, reason) { requestingevent[playerid] = 0; eventorganizer[playerid] = 0; return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { CMD:event(playerid, params[]) { if(activeevent == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}There is currently no active event running."); new string[300], name[MAX_PLAYER_NAME]; for(new i = 0; i < MAX_PLAYERS; i ++) { if(eventorganizer == 1) { GetPlayerName(i, name, sizeof(name)); } } SendClientMessage(playerid, 0xFFFFFFFF, "-------------------------------------------"); format(string, sizeof(string), "{FFFF00}Title: %s Location: %s Time: %s", eventtile, eventlocation, eventtime); SendClientMessage(playerid, 0xFFFFFFFF, string); format(string, sizeof(string), "{FFFF00}Organizer: %s Prize: $%s", third, Comma(eventprize)); SendClientMessage(playerid, 0xFFFFFFFF, string); format(string, sizeof(string), "{FFFF00}Description: %s", eventdescription); SendClientMessage(playerid, 0xFFFFFFFF, string); SendClientMessage(playerid, 0xFFFFFFFF, "-------------------------------------------"); return 1; } CMD:e(playerid, params[]) { if(eventorganizer[playerid] == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}You're not the organizer of the event."); new text[250]; if(sscanf(params, "s[250]", text)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Syntax: /e [text]"); new string[300], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "{7094DB}Event Organizer %s: %s", name, text); SendClientMessageToAll(0xFFFFFFFF, string); return 1; } CMD:cancelrequest(playerid, params[]) { if(requestingevent[playerid] == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}You're not requesting an event."); requestingevent[playerid] = 0; SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Your event request has been cancelled."); return 1; } CMD:stopevent(playerid, params[]) { if(activeevent == 0 && IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}There isn't any events to stop."); if(eventorganizer[playerid] == 0 && !IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}You're not the organizer of the event."); for(new i = 0; i < MAX_PLAYERS; i ++) { eventorganizer = 0; } SendClientMessageToAll(0xFFFFFFFF, "-------------------------------------------"); SendClientMessageToAll(0xFFFFFFFF, "{FFFF00}Event over."); SendClientMessageToAll(0xFFFFFFFF, "-------------------------------------------"); activeevent = 0; return 1; } CMD:acceptevent(playerid, params[]) { if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}You're not an admin."); if(activeevent == 1) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}There's already an active event."); new evetnid; if(sscanf(params, "d", eventid)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Syntax: /acceptevent [eventid]"); if(requestingevent[eventid] == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Invalid event ID."); strmid(eventtitle, requestingtitle[eventid], 0, strlen(requestingtitle[eventid])); strmid(eventlocation, requestinglocation[eventid], 0, strlen(requestinglocation[eventid])); strmid(eventdescription, requestingdescription[eventid], 0, strlen(requestingdescription[eventid])); eventprize = requestingprize[eventid]; strmid(eventtime, requestingtime[eventid], 0, strlen(requestingtime[eventid])); new string[300], name[MAX_PLAYER_NAME]; GetPlayerName(eventid, name, sizeof(name)); SendClientMessageToAll(0xFFFFFFFF, "-------------------------------------------"); format(string, sizeof(string), "{FFFF00}Event: %d Title: %s Location: %s Time: %s", eventid, eventtitle, eventlocation, eventtime); SendClientMessageToAll(0xFFFFFFFF, string); format(string, sizeof(string), "{FFFF00}Organizer: %s Prize: $%s", name, Comma(eventprize)); SendClientMessageToAll(0xFFFFFFFF, string); format(string, sizeof(string), "{FFFF00}Description: %s", eventdescription); SendClientMessageToAll(0xFFFFFFFF, string); SendClientMessageToAll(0xFFFFFFFF, "-------------------------------------------"); eventorganizer[eventid] = 1; requestingevent[eventid] = 0; activeevent = 1; return 1; } CMD:requestevent(playerid, params[]) { if(activeevent == 1) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}There's already an active event."); if(requestingevent[playerid] == 1) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}You're already requesting an event, cancel it first."); new title[50], location[50], description[100], prize, time[50]; if(sscanf(params, "p<|>s[50]s[50]s[50]s[100]d", title, location, time, description, prize)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Syntax: /requestevent [Title|Location|Time|Description|Prize]"); if(strlen(title) < 1 || strlen(title) > 50) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Invalid amount of characters in title."); if(strlen(location) < 1 || strlen(location) > 50) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Invalid amount of characters in location."); if(strlen(time) < 1 || strlen(time) > 50) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Invalid amount of characters in time."); if(strlen(description) < 1 || strlen(description) > 100) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Invalid amount of characters in description."); if(prize < 1 || prize > 5000000) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Invalid prize amount."); new string[300], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); requestingevent[playerid] = 1; strmid(requestingtitle[playerid], title, 0, strlen(title)); strmid(requestinglocation[playerid], location, 0, strlen(location)); strmid(requestingdescription[playerid], description, 0, strlen(description)); requestingprize[playerid] = prize; strmid(requestingtime[playerid], time, 0, strlen(time)); if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, 0xFFFFFFFF, "-------------------------------------------"); for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerAdmin(i)) { SendClientMessage(i, 0xFFFFFFFF, "-------------------------------------------"); } } format(string, sizeof(string), "{FFFF00}Event %d has been requested, details are below.", playerid); if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, 0xFFFFFFFF, string); for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerAdmin(i)) { SendClientMessage(i, 0xFFFFFFFF, string); } } format(string, sizeof(string), "{FFFF00}Event: %d Title: %s Location: %s Time: %s", playerid, title, location, time); if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, 0xFFFFFFFF, string); for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerAdmin(i)) { SendClientMessage(i, 0xFFFFFFFF, string); } } format(string, sizeof(string), "{FFFF00}Organizer: %s Prize: $%s", name, Comma(prize)); if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, 0xFFFFFFFF, string); for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerAdmin(i)) { SendClientMessage(i, 0xFFFFFFFF, string); } } format(string, sizeof(string), "{FFFF00}Description: %s", description); if(PlayerData[playerid][pAdmin] < 1) SendClientMessage(playerid, 0xFFFFFFFF, string); for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerAdmin(i)) { SendClientMessage(i, 0xFFFFFFFF, string); } } format(string, sizeof(string), "{FFFF00}Use [/acceptevent %d] to accept this event.", playerid); for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerAdmin(i)) { SendClientMessage(i, 0xFFFFFFFF, string); } } SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Your event is pending approval from an admin, please wait."); if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, 0xFFFFFFFF, "-------------------------------------------"); for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerAdmin(i)) { SendClientMessage(i, 0xFFFFFFFF, string); } } return 1; } CMD:rejectevent(playerid, params[]) { if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Only admins can use this command."); new id, reason[100]; if(sscanf(params, "us[100]", id, reason)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Syntax: /rejectevent [eventid] [reason]"); if(requestingevent[id] == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Invalid event ID."); new string[300], sendername[MAX_PLAYER_NAME], receivername[MAX_PLAYER_NAME]; requestingevent[id] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(id, receivername, sizeof(receivername)); format(string, sizeof(string), "{FFFF00}Admin %s has rejected your event, reason: %s", sendername, reason); SendClientMessage(id, 0xFFFFFFFF, string); format(string, sizeof(string), "{FFFF00}You rejected %s's event, reason: %s", receivername, reason); SendClientMessage(playerid, 0xFFFFFFFF, string); return 1; } CMD:pendingevents(playerid, params[]) { if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Only admins can use this command."); new string[1000], tmpstring[100], titlestring[100], count = 0, name[MAX_PLAYER_NAME; for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerConnected(i)) { if(requestingevent == 1) { GetPlayerName(i, name, sizeof(name)); format(tmpstring, sizeof(tmpstring), "Name: %s | ID: %d | Title: %s", name, i, requestingtitle); strcat(string, tmpstring); count ++; } } } if(count == 0) return ShowPlayerDialog(playerid, 5345, DIALOG_STYLE_MSGBOX, "Pending Requests: 0", "There are no pending requests.", "Done", ""); format(titlestring, sizeof(titlestring), "Pending Requests: %d", count); ShowPlayerDialog(playerid, 5345, DIALOG_STYLE_LIST, titlestring, string, "Done", ""); SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Use the command /checkevent to check the pending event information."); return 1; } CMD:checkevent(playerid, params[]) { if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Only admins can use this command."); new eventid; if(sscanf(params, "u", eventid)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Syntax: /checkevent [eventid]"); if(requestingevent[eventid] == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Invalid event ID."); new string[300], name[MAX_PLAYER_NAME]; GetPlayerName(eventid, name, sizeof(name)); SendClientMessage(playerid, 0xFFFFFFFF, "-------------------------------------------"); format(string, sizeof(string), "{FFFF00}Title: %s Location: %s Time: %s", requestingtitle[eventid], requestinglocation[eventid], requestingtime[eventid]); SendClientMessage(playerid, 0xFFFFFFFF, string); format(string, sizeof(string), "{FFFF00}Organizer: %s Prize: $%s", name, Comma(requestingprize[eventid])); SendClientMessage(playerid, 0xFFFFFFFF, string); format(string, sizeof(string), "{FFFF00}Description: %s", requestingdescription[eventid]); SendClientMessage(playerid, 0xFFFFFFFF, string); format(string, sizeof(string), "{FFFF00}Use [/acceptevent %d] to accept this event.", eventid); SendClientMessage(playerid, 0xFFFFFFFF, string); SendClientMessage(playerid, 0xFFFFFFFF, "-------------------------------------------"); return 1; } CMD:rejectevent(playerid, params[]) { if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Only admins can use this command."); new id, reason[100]; if(sscanf(params, "us[100]", id, reason)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Syntax: /rejectevent [eventid] [reason]"); if(requestingevent[id] == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Invalid event ID."); new string[300], sendername[MAX_PLAYER_NAME], receivername[MAX_PLAYER_NAME]; requestingevent[id] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(id, receivername, sizeof(receivername)); format(string, sizeof(string), "{FFFF00}Admin %s has rejected your event, reason: %s", sendername, reason); SendClientMessage(id, 0xFFFFFFFF, string); format(string, sizeof(string), "{FFFF00}You rejected %s's event, reason: %s", receivername, reason); SendClientMessage(playerid, 0xFFFFFFFF, string); return 1; } CMD:pendingevents(playerid, params[]) { if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Only admins can use this command."); new string[1000], tmpstring[100], titlestring[100], count = 0, name[MAX_PLAYER_NAME]; for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerConnected(i)) { if(requestingevent == 1) { GetPlayerName(i, name, sizeof(name)); format(tmpstring, sizeof(tmpstring), "Name: %s | ID: %d | Title: %s", name, i, requestingtitle); strcat(string, tmpstring); count ++; } } } if(count == 0) return ShowPlayerDialog(playerid, 5345, DIALOG_STYLE_MSGBOX, "Pending Requests: 0", "There are no pending requests.", "Done", ""); format(titlestring, sizeof(titlestring), "Pending Requests: %d", count); ShowPlayerDialog(playerid, 5345, DIALOG_STYLE_LIST, titlestring, string, "Done", ""); SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Use the command /checkevent to check the pending event information."); return 1; } CMD:checkevent(playerid, params[]) { if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Only admins can use this command."); new eventid; if(sscanf(params, "u", eventid)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Syntax: /checkevent [eventid]"); if(requestingevent[eventid] == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFF00}Invalid event ID."); new string[300], name{MAX_PLAYER_NAME]; GetPlayerName(eventid, name, sizeof(name)); SendClientMessage(playerid, 0xFFFFFFFF, "-------------------------------------------"); format(string, sizeof(string), "{FFFF00}Title: %s Location: %s Time: %s", requestingtitle[eventid], requestinglocation[eventid], requestingtime[eventid]); SendClientMessage(playerid, 0xFFFFFFFF, string); format(string, sizeof(string), "{FFFF00}Organizer: %s Prize: $%s", name, Comma(requestingprize[eventid])); SendClientMessage(playerid, 0xFFFFFFFF, string); format(string, sizeof(string), "{FFFF00}Description: %s", requestingdescription[eventid]); SendClientMessage(playerid, 0xFFFFFFFF, string); format(string, sizeof(string), "{FFFF00}Use [/acceptevent %d] to accept this event.", eventid); SendClientMessage(playerid, 0xFFFFFFFF, string); SendClientMessage(playerid, 0xFFFFFFFF, "-------------------------------------------"); return 1; } return 0; } stock Comma(numbers) { new temp[100], counter = -1; valstr(temp, numbers); for(new i = strlen(temp);i > 0; i--) { counter++; if(counter == 3) { strins(temp, ",", i); counter = 0; } } return temp; }[/pawn]
-
Salut am incercat sa fac acest fs : dar nu am reusit... imi da aceste errori : [pawn]D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(36) : warning 217: loose indentation D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(43) : error 017: undefined symbol "event" D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(44) : warning 217: loose indentation D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(45) : error 079: inconsistent return types (array & non-array) D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(55) : error 017: undefined symbol "eventtile" D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(57) : error 017: undefined symbol "third" D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(62) : error 079: inconsistent return types (array & non-array) D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(65) : warning 225: unreachable code D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(65) : error 017: undefined symbol "e" D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(67) : error 079: inconsistent return types (array & non-array) D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(69) : error 017: undefined symbol "sscanf" D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(69) : error 079: inconsistent return types (array & non-array) D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(74) : error 079: inconsistent return types (array & non-array) D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(77) : warning 225: unreachable code D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(77) : error 017: undefined symbol "cancelrequest" D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(79) : error 079: inconsistent return types (array & non-array) D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(82) : error 079: inconsistent return types (array & non-array) D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(85) : warning 225: unreachable code D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(85) : error 017: undefined symbol "stopevent" D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(87) : error 079: inconsistent return types (array & non-array) D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(88) : error 079: inconsistent return types (array & non-array) D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(97) : error 079: inconsistent return types (array & non-array) D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(100) : warning 225: unreachable code D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(100) : error 017: undefined symbol "acceptevent" D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(102) : error 079: inconsistent return types (array & non-array) D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(103) : error 079: inconsistent return types (array & non-array) D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(105) : error 017: undefined symbol "sscanf" D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(105) : error 079: inconsistent return types (array & non-array) D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(106) : error 017: undefined symbol "eventid" D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(106) : error 079: inconsistent return types (array & non-array) D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(107) : error 017: undefined symbol "eventid" D:\Jocuri\Samp\Pentru_Oameni_Fara_Imaginatie(2)\RedzMax RPG Romania\filterscripts\event.pwn(108) : error 017: undefined symbol "eventid" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.[/pawn]
-
Salut! cand incerc sa intru pe un server imi da crash.. si nu am moduri instalate in GTA.. [pawn]SA-MP 0.3x-R1-2 Exception At Address: 0x0157E72B Base: 0x02270000 Registers: EAX: 0x7FFAF000 EBX: 0x7FFD5000 ECX: 0x0022FFB0 EDX: 0x7C90E514 ESI: 0x0022FFBC EDI: 0x00000000 EBP: 0x0022FFC0 ESP: 0x0022FF84 EFLAGS: 0x00010206 Stack: +0000: 0x00000000 0x0012E2CC 0x7FFD5000 0x0000000C +0010: 0x00000000 0x0117EB16 0x0157FCB9 0x0000000C +0020: 0x00000000 0x0012E2CC 0x0022FFF0 0x0022FFC4 +0030: 0x7FFD5000 0x7C90E514 0x0022FFB0 0x0022FFF0 +0040: 0x7C81776F 0x00000000 0x0012E2CC 0x7FFD5000 +0050: 0xC0000005 0x0022FFC8 0x0022FBA8 0xFFFFFFFF +0060: 0x7C839A90 0x7C817778 0x00000000 0x00000000 +0070: 0x00000000 0x0157E716 0x00000000 0x78746341 +0080: 0x00000020 0x00000001 0x0000249C 0x000000C4 +0090: 0x00000000 0x00000020 0x00000000 0x00000014 +00A0: 0x00000001 0x00000006 0x00000034 0x00000114 +00B0: 0x00000001 0x00000000 0x00000000 0x00000000 +00C0: 0x00000000 0x00000000 0x00000002 0x00000000 +00D0: 0x00000000 0x00000000 0x00000214 0x0000019C +00E0: 0x00000000 0x2D59495B 0x000003B0 0x00000032 +00F0: 0x000003E4 0x000002D8 0x00000000 0x830202E4 +0100: 0x000006BC 0x00000046 0x00000704 0x000002EA +0110: 0x00000000 0xD18CD5D2 0x000009F0 0x00000046 +0120: 0x00000A38 0x000002EA 0x00000000 0xD86AAD2E +0130: 0x00000D24 0x00000046 0x00000D6C 0x00000304 +0140: 0x00000010 0x00000004 0x000000D4 0x00000002 +0150: 0x00000001 0x00000114 0x00000F90 0x00000001 +0160: 0x00000002 0x000010A4 0x0000032C 0x00000001 +0170: 0x00000004 0x000013D0 0x00001050 0x00000002 +0180: 0x00000006 0x00002420 0x0000007C 0x00000002 +0190: 0x64487353 0x0000002C 0x00000001 0x00000001 +01A0: 0x00000001 0x00000005 0x00000088 0x00000001 +01B0: 0x00000F5C 0x0000002C 0x0000005A 0x0000005A +01C0: 0x00000000 0x00000000 0x00000000 0x00000000 +01D0: 0x00000000 0x00000000 0x00000000 0x00000000 +01E0: 0x00000000 0x00000002 0x00000024 0x00000034 +01F0: 0x003A0043 0x0057005C 0x004E0049 0x004F0044 +0200: 0x00530057 0x0057005C 0x006E0069 0x00780053 +0210: 0x005C0073 0x00000000 0x00000000 0x00000000 +0220: 0x00000000 0x00000100 0x0000019C 0x00000001 +0230: 0x2D59495B 0x0000029C 0x00000032 0x000002D0 +0240: 0x000002D8 0x00000002 0x830202E4 0x000005A8 +0250: 0x00000046 0x000005F0 0x000002EA 0x00000003 +0260: 0xD18CD5D2 0x000008DC 0x00000046 0x00000924 +0270: 0x000002EA 0x00000004 0xD86AAD2E 0x00000C10 SCM Op: 0x0, lDbg: 0 LastRendObj: 0 Game Version: US 1.0 [/pawn]
-
uite ce mi-a dat : [pawn]D:\Jocuri\SAMP\[Acest URL nu trebuie sa apara aici] RPG Romania\pawno\include\streamer.inc(400) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint") D:\Jocuri\SAMP\[Acest URL nu trebuie sa apara aici] RPG Romania\gamemodes\sZn.pwn(14298) : error 010: invalid function or declaration D:\Jocuri\SAMP\[Acest URL nu trebuie sa apara aici] RPG Romania\gamemodes\sZn.pwn(19006) : warning 219: local variable "mod" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. [/pawn] 14298:[pawn]mod = 100;[/pawn] 19006-19008 :[pawn]new mod = 100; tmp = strtok(cmdtext, idx); if(!strlen(tmp))[/pawn] 400: [pawn]forward Eventd();[/pawn] EDIT: Am sters[pawn] mod = 100; [/pawn] si acuma mi sa compilat doar ca mai am acele 2 erori.
-
[pawn]D:\Jocuri\SAMP\[Acest URL nu trebuie sa apara aici] RPG Romania\pawno\include\streamer.inc(400) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint") D:\Jocuri\SAMP\[Acest URL nu trebuie sa apara aici] RPG Romania\gamemodes\sZn.pwn(14299) : error 021: symbol already defined: "strtok" D:\Jocuri\SAMP\[Acest URL nu trebuie sa apara aici] RPG Romania\gamemodes\sZn.pwn(14314) : error 047: array sizes do not match, or destination array is too small D:\Jocuri\SAMP\[Acest URL nu trebuie sa apara aici] RPG Romania\gamemodes\sZn.pwn(19023) : warning 219: local variable "mod" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.[/pawn] 14298-14315: [pawn]strtok(const string[], &index) { new length = strlen(string); while ((index < length) && (string[index] <= ' ')) { index++; } new offset = index; new result[20]; while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string[index]; index++; } result[index - offset] = EOS; return result; }[/pawn] 19023 -19025:[pawn] new mod = 100; tmp = strtok(cmdtext, idx); if(!strlen(tmp))[/pawn]
-
[pawn]D:\Torente\samp03\gamemodes\pro.pwn(17034) : error 017: undefined symbol "SPECIAL_ACTION_CUFFED" D:\Torente\samp03\gamemodes\pro.pwn(20439) : error 017: undefined symbol "SetObjectMaterialText" D:\Torente\samp03\gamemodes\pro.pwn(20441) : error 017: undefined symbol "SetObjectMaterialText" D:\Torente\samp03\gamemodes\pro.pwn(20443) : error 017: undefined symbol "SetObjectMaterialText" D:\Torente\samp03\gamemodes\pro.pwn(20445) : error 017: undefined symbol "SetObjectMaterialText" D:\Torente\samp03\gamemodes\pro.pwn(20447) : error 017: undefined symbol "SetObjectMaterialText" D:\Torente\samp03\gamemodes\pro.pwn(20449) : error 017: undefined symbol "SetObjectMaterialText" D:\Torente\samp03\gamemodes\pro.pwn(20451) : error 017: undefined symbol "SetObjectMaterialText" D:\Torente\samp03\gamemodes\pro.pwn(20453) : error 017: undefined symbol "SetObjectMaterialText" D:\Torente\samp03\gamemodes\pro.pwn(20455) : error 017: undefined symbol "SetObjectMaterialText" D:\Torente\samp03\gamemodes\pro.pwn(20457) : error 017: undefined symbol "SetObjectMaterialText" D:\Torente\samp03\gamemodes\pro.pwn(56332) : error 017: undefined symbol "SPECIAL_ACTION_CUFFED" D:\Torente\samp03\gamemodes\pro.pwn(20440) : warning 204: symbol is assigned a value that is never used: "Fun" D:\Torente\samp03\gamemodes\pro.pwn(20446) : warning 204: symbol is assigned a value that is never used: "Fun2" D:\Torente\samp03\gamemodes\pro.pwn(20452) : warning 204: symbol is assigned a value that is never used: "Fun3" D:\Torente\samp03\gamemodes\pro.pwn(20438) : warning 204: symbol is assigned a value that is never used: "Just4" D:\Torente\samp03\gamemodes\pro.pwn(20444) : warning 204: symbol is assigned a value that is never used: "Just42" D:\Torente\samp03\gamemodes\pro.pwn(20450) : warning 204: symbol is assigned a value that is never used: "Just43" D:\Torente\samp03\gamemodes\pro.pwn(20456) : warning 204: symbol is assigned a value that is never used: "Politie" D:\Torente\samp03\gamemodes\pro.pwn(20442) : warning 204: symbol is assigned a value that is never used: "Slogan" D:\Torente\samp03\gamemodes\pro.pwn(20448) : warning 204: symbol is assigned a value that is never used: "Slogan2" D:\Torente\samp03\gamemodes\pro.pwn(20454) : warning 204: symbol is assigned a value that is never used: "Slogan3" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 12 Errors.[/pawn] 17034: [pawn]if(!IsPlayerInAnyVehicle(playerid) && newkeys & KEY_JUMP && !(oldkeys & KEY_JUMP) && GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_CUFFED) ApplyAnimation(playerid, "GYMNASIUM", "gym_jog_falloff",4.1,0,1,1,0,0);[/pawn] 20438-20457:[pawn] Just4 = CreateObject(19353, 864.3136, -1646.9001, 12.5065, -0.0999, 89.6000, -91.1410); SetObjectMaterialText(Just4, "{DC0C0C}Just4", 0, 50, "Arial", 24, 1, -65536, 0, 1); Fun = CreateObject(19353, 863.2511, -1646.8746, 12.4703, 0.0000, -89.7000, 87.5350); SetObjectMaterialText(Fun, "{000000}Fun", 0, 50, "Arial", 24, 0, -8092540, 0, 1); Slogan = CreateObject(19353, 863.8606, -1646.3967, 12.4723, 0.0000, -89.7999, 87.4784); SetObjectMaterialText(Slogan, "{FFFFFF}www.inlucru.ro", 0, 100, "Arial", 24, 1, -1, 0, 1); Just42 = CreateObject(19353, 1451.0200, -2286.2902, 16.8169, -0.0999, -0.0000, -179.2465); SetObjectMaterialText(Just42, "{DC0C0C}Just4", 0, 50, "Arial", 24, 1, -2356212, 0, 1); Fun2 = CreateObject(19353, 1451.0677, -2287.4008, 16.8268, 0.0000, 0.0000, 181.0359); SetObjectMaterialText(Fun2, "Fun", 0, 50, "Arial", 24, 1, -16777216, 0, 1); Slogan2 = CreateObject(19353, 1451.0157, -2286.9216, 16.2568, 0.0000, 0.0000, 180.4093); SetObjectMaterialText(Slogan2, "inlucru.ro", 0, 100, "Arial", 24, 0, -16777216, 0, 1); Just43 = CreateObject(19353, 1441.7412, -2287.6379, 12.5264, 0.0000, -87.6001, -0.6858); SetObjectMaterialText(Just43, "{DC0C0C}Just4", 0, 50, "Arial", 24, 1, -2356212, 0, 1); Fun3 = CreateObject(19353, 1441.7542, -2286.5444, 12.4871, 0.0000, -89.6999, -0.3858); SetObjectMaterialText(Fun3, "Fun", 0, 50, "Arial", 24, 1, -16777216, 0, 1); Slogan3 = CreateObject(19353, 1442.3537, -2287.0585, 12.5153, 0.0000, -82.7999, -2.2658); SetObjectMaterialText(Slogan3, "inlucru.ro", 0, 100, "Arial", 24, 0, -1, 0, 1); Politie = CreateObject(2719, 1543.4331, -1631.9439, 13.2204, 1.5000, 0.0999, -90.2158); SetObjectMaterialText(Politie, "Just4Fun", 0, 60, "Impact", 24, 0, -32256, 0, 1);[/pawn] 56332: [pawn] SetPlayerSpecialAction(giveplayerid,SPECIAL_ACTION_CUFFED);[/pawn]
-
Puteti sa ma ajutati cu astea? Va rog frumos! [pawn]D:\Jocuri\SAMP\[Acest URL nu trebuie sa apara aici] RPG Romania\pawno\include\vida.inc(161) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect") D:\Jocuri\SAMP\[Acest URL nu trebuie sa apara aici] RPG Romania\pawno\include\vida.inc(162) : warning 201: redefinition of constant/macro (symbol "OnPlayerDisconnect") D:\Jocuri\SAMP\Pro-Gaming by EmiNEm\gamemodes\J4F.pwn(15865) : warning 202: number of arguments does not match definition D:\Jocuri\SAMP\Pro-Gaming by EmiNEm\gamemodes\J4F.pwn(22020) : warning 235: public function lacks forward declaration (symbol "HBroadCast") D:\Jocuri\SAMP\Pro-Gaming by EmiNEm\gamemodes\J4F.pwn(35593) : warning 216: nested comment D:\Jocuri\SAMP\Pro-Gaming by EmiNEm\gamemodes\J4F.pwn(58746) : warning 225: unreachable code D:\Jocuri\SAMP\Pro-Gaming by EmiNEm\gamemodes\J4F.pwn(63846) : warning 235: public function lacks forward declaration (symbol "ResetBan") D:\Jocuri\SAMP\Pro-Gaming by EmiNEm\gamemodes\J4F.pwn(63850) : warning 235: public function lacks forward declaration (symbol "ResetKick") D:\Jocuri\SAMP\Pro-Gaming by EmiNEm\gamemodes\J4F.pwn(67420) : warning 203: symbol is never used: "PlayerPos" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 13060 bytes Code size: 2907016 bytes Data size: 7661528 bytes Stack/heap size: 16384 bytes; estimated max. usage=4308 cells (17232 bytes) Total requirements:10597988 bytes 9 Warnings.[/pawn] 161-162:[pawn]new ConBandana[MAX_PLAYERS]; new PusoArbolN[MAX_PLAYERS];[/pawn] 15865:[pawn] Create3DTextLabel("{6EF83C}U.S.T. HQ \n{FFFFFF}Apasa [F] sau [Enter]",0xE60000FF,2495.9592,447.1134,1397.2653,1084.3047+1,8,0,1); //iesire[/pawn] 22020:[pawn]public HBroadCast(color,const string[],level) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if (PlayerInfo[pHelper] >= level) { SendClientMessage(i, color, string); printf("%s", string); } } } return 1; }[/pawn] 35593:[pawn] /*if(strcmp(cmd, "/carspawn", true) == 0) { if(!IsPlayerConnected(playerid)) { return 1; } if(PlayerInfo[playerid][pPcarkey]==999) { GameTextForPlayer(playerid, "~w~You do not have a car to locate", 2500, 3); return 1; } if(PlayerInfo[playerid][pPnumber]==0) { SendClientMessage(playerid, COLOR_GRAD2, "You do not have a phone to locate your car spawn"); return 1; } SendClientMessage(playerid,COLOR_WHITE,"Car spawn location is red on a map"); SetPlayerCheckpoint(playerid,CarInfo[PlayerInfo[playerid][pPcarkey]][cLocationx], CarInfo[PlayerInfo[playerid][pPcarkey]][cLocationy], CarInfo[PlayerInfo[playerid][pPcarkey]][cLocationz], 5.0); return 1; }*/[/pawn] 58746:[pawn] if(LicenseType[playerid] == 0 || LicenseType[playerid] > 5) { return 1; }[/pawn] 63846:[pawn]public ResetBan(playerid) { PlayerBan[playerid] = 0; } public ResetKick(playerid) { PlayerKick[playerid] = 0; }[/pawn] 63850:[pawn]public ResetBan(playerid) { PlayerBan[playerid] = 0; } public ResetKick(playerid) { PlayerKick[playerid] = 0; }[/pawn] 67420: nici nu am linia asta.. am doar pana la 67419.. :|
-
Salut. Nu stiu daca aici trebuia sa scriu da am nevoie urgent de ajutor. Am hostat si eu serverul si nu stiu sa ii fac baza de data.. ma puteti ajuta?
-
Ma ajutati cu acest Warning? [pawn]D:\Jocuri\SAMP\RedzMax RPG Romania\gamemodes\pro.pwn(19376) : warning 235: public function lacks forward declaration (symbol "IsOnSafeArea") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. [/pawn] 19376-19386:[pawn]public IsOnSafeArea(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(20.0,playerid,1462.2821,-1014.6368,26.5002) || PlayerToPoint(30.0,playerid,1481.0426,-1770.5896,18.7958) || PlayerToPoint(5.0,playerid,1411.1127,-1701.3639,13.5395) || PlayerToPoint(10.0, playerid, 1554.5994,-1675.5775,16.1953) || PlayerToPoint(25.0, playerid, 1451.3270,-2287.0781,13.5469) || PlayerToPoint(35.0, playerid, 880.2877,-1663.6246,13.5469)) { return 1; } } return 0; }[/pawn]
-
partea asta nu am inteleso nici eu...:-? de aceea am vrut sa stiu ce trebuie sa fac...
-
Salut! Am luat si eu Gm-ul RedzMax RPG de aici: < removed by DarkyTheAngel > dar nu stiu sa pun datele din phpmyadmin in gamemode... Va rog sa ma ajutati... multumesc anticipat!
-
multumesc, il pun acuma... in caz de ceva revin cu un edit... EDIT: uite ce imi zice [pawn]D:\Jocuri\SAMP\sp edit\gamemodes\rpg.pwn(8999) : error 017: undefined symbol "IsValidVehicle" D:\Jocuri\SAMP\sp edit\gamemodes\rpg.pwn(9451) : warning 204: symbol is assigned a value that is never used: "paperboy" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.[/pawn] EDIT 2: Am pus asta: [pawn]#include <a_samp> native IsValidVehicle(vehicleid); // si asta unde mi-a zis Gireada for(new veh = 1; veh < MAX_VEHICLES; veh++) { if(IsValidVehicle(veh)) { SetVehicleParamsEx(veh,false,false,false,false,false,false,false); } }[/pawn] si tot nu merge...
-
nu imi da voie sa intru in ea... nici in nrg, nici in hehi