Gaby29
Membru-
Posts
26 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Everything posted by Gaby29
-
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
-
Salut, am o problema cu masinile de la factiuni... Nu merge sa intru ca sa le conduc... dar merge cu "G"
-
k... ms k ai incercat
-
[pawn]public OnPlayerConnect(playerid) { new plname[MAX_PLAYER_NAME]; GetPlayerName(playerid, plname, sizeof(plname)); if(Security != 0) { SendClientMessage(playerid, COLOR_YELLOW, "Host has broken one of the Agreement rules, action has been taken."); Kick(playerid); return 1; } SetVehicleNumberPlate(examc, " School"); gActivePlayers[playerid]++; numplayers++; new string[MAX_PLAYER_NAME]; SelectChar[playerid] = 0; HidePM[playerid] = 1; PhoneOnline[playerid] = 0; SelectCharID[playerid] = 0; SelectCharPlace[playerid] = 0; ChosenSkin[playerid] = 0; GettingJob[playerid] = 0; GuardOffer[playerid] = 999; GuardPrice[playerid] = 0; ApprovedLawyer[playerid] = 0; CallLawyer[playerid] = 0; WantLawyer[playerid] = 0; KickPlayer[playerid] = 0; CurrentMoney[playerid] = 0; UsedFind[playerid] = 0; CP[playerid] = 0; Robbed[playerid] = 0; SpawnChange[playerid] = 1; CarOffer[playerid] = 999; CarPrice[playerid] = 0; CarID[playerid] = 0; CarCalls[playerid] = 0; RobbedTime[playerid] = 0; MoneyMessage[playerid] = 0; Condom[playerid] = 0; Rope[playerid] = 0; STDPlayer[playerid] = 0; SexOffer[playerid] = 999; SexPrice[playerid] = 0; RepairOffer[playerid] = 999; RepairPrice[playerid] = 0; RepairCar[playerid] = 0; TalkingLive[playerid] = 255; LiveOffer[playerid] = 999; TakingLesson[playerid] = 0; RefillOffer[playerid] = 999; RefillPrice[playerid] = 0; MapIconsShown[playerid] = 0; DrugOffer[playerid] = 999; PlayerCuffed[playerid] = 0; PlayerCuffedTime[playerid] = 0; DrugPrice[playerid] = 0; RegistrationStep[playerid] = 0; OnCK[playerid] = 999; GettingCK[playerid] = 999; DrugGram[playerid] = 0; ConnectedToPC[playerid] = 0; OrderReady[playerid] = 0; JailPrice[playerid] = 0; MedicTime[playerid] = 0; NeedMedicTime[playerid] = 0; MedicBill[playerid] = 0; GotHit[playerid] = 0; WantedPoints[playerid] = 0; GoChase[playerid] = 999; GetChased[playerid] = 999; PlacedNews[playerid] = 0; OnDuty[playerid] = 0; WantedLevel[playerid] = 0; tactical[playerid] = 0; swat[playerid] = 0; TestFishes[playerid] = 0; BoxWaitTime[playerid] = 0; SchoolSpawn[playerid] = 0; ChangePos2[playerid][1] = 0; SafeTime[playerid] = 60; TransportDuty[playerid] = 0; PlayerTied[playerid] = 0; BusCallTime[playerid] = 0; TaxiCallTime[playerid] = 0; MedicCallTime[playerid] = 0; MechanicCallTime[playerid] = 0; BusrouteEast[playerid][0] = 0; BusrouteWest[playerid][0] = 0; BusShowLocation[playerid][0] = 0; BusShowLocationC[playerid] = 0; FindTimePoints[playerid] = 0; FindTime[playerid] = 0; JobDuty[playerid] = 0; Mobile[playerid] = 255; Music[playerid] = 0; BoxOffer[playerid] = 999; PlayerBoxing[playerid] = 0; Spectate[playerid] = 255; PlayerDrunk[playerid] = 0; PlayerDrunkTime[playerid] = 0; Unspec[playerid][sLocal] = 255; FishCount[playerid] = 0; WritingPaper[playerid] = 0; WritingPaperNumber[playerid] = 999; WritingLine[playerid] = 0; BringingPaper[playerid] = 0; GotPaper[playerid] = 0; PaperOffer[playerid] = 999; /*ConsumingMoney[playerid] = 0;*/ ScriptMoney[playerid] = 0; ScriptMoneyUpdated[playerid] = 0; for (new c=0; c<13; c++) ScriptWeapons[playerid][c] = 0; ScriptWeaponsUpdated[playerid] = 0; ttroute[playerid] = 0; gLastCar[playerid] = 0; FirstSpawn[playerid] = 1; gOoc[playerid] = 0; gNews[playerid] = 0; BigEar[playerid] = 0; gDice[playerid] = 0; gFam[playerid] = 0; gSpeedo[playerid] = 0; gGas[playerid] = 0; gPlayerLogged[playerid] = 0; gPlayerLogTries[playerid] = 0; gPlayerAccount[playerid] = 0; gPlayerSpawned[playerid] = 0; PlayerKarting[playerid] = 0; PlayerInKart[playerid] = 0; PlayerTazeTime[playerid] = 0; PlayerStoned[playerid] = 0; StartTime[playerid] = 0; TicketOffer[playerid] = 999; TicketMoney[playerid] = 0; MatsHolding[playerid] = 0; TutTime[playerid] = 0; gPlayerMission[playerid] = 0; TaxiAccepted[playerid] = 999; BusAccepted[playerid] = 999; PlayerInfo[playerid][pCash] = dollah; NoFuel[playerid] = 0; HireCar[playerid] = 299; GangCar[playerid] = 512; PlayersChannel[playerid] = 999; TransportValue[playerid] = 0; TransportMoney[playerid] = 0; TransportTime[playerid] = 0; TransportCost[playerid] = 0; TransportDriver[playerid] = 999; Locator[playerid] = 0; PlayerOnMission[playerid] = 0; MissionCheckpoint[playerid] = 0; WatchingTV[playerid] = 0; PlayerPaintballing[playerid] = 0; PlayerPaintballKills[playerid] = 0; Fishes[playerid][pLastFish] = 0; Fishes[playerid][pFishID] = 0; ProposeOffer[playerid] = 999; MarryWitness[playerid] = 999; MarryWitnessOffer[playerid] = 999; MarriageCeremoney[playerid] = 0; ProposedTo[playerid] = 999; GotProposedBy[playerid] = 999; DivorceOffer[playerid] = 999; SafeGivePlayerMoney(playerid,PlayerInfo[playerid][pCash]); tactical[playerid] = 0; swat[playerid] = 0; authorizeswat = 0; authorizetactical = 0; PizzaCallTime[playerid] = 0; bPizza[playerid] = 0; sPizza[playerid] = 0; gEngine[playerid] = 0; FarmerVar[playerid] = 0; FarmerPickup[playerid][0] = 0; SmugglerWork[playerid] = 0; SmuggledDrugs[playerid] = 0; JustDied[playerid] = 0; KnockedDown[playerid] = 0; UnidentifedCall[playerid] = 0; LicenseOffer[playerid] = 999; LicensePrice[playerid] = 0; LicenseType[playerid] = 0; UsingDrugs[playerid] = 0; AfterTutorial[playerid] = 0; OwnableCarOffer[playerid] = 999; OwnableCarID[playerid] = 0; OwnableCarPrice[playerid] = 0; BlindFold[playerid] = 0; PlayerIsSweeping[playerid] = 0; AdminDuty[playerid] = 0; JustReported[playerid] = 0; PlayerNeedsHelp[playerid] = 0; AdminSpec[playerid] = 0; IsSmoking[playerid] = 0; UsingSmokeAnim[playerid] = 0; ReduceTime[playerid] = 0; CreatingGun[playerid] = 0; CreatingGunAmmo[playerid] = 0; CreatingGunPrice[playerid] = 0; IsPuttingMaterials[playerid] = 0; IsTakingGun[playerid] = 0; Disguise[playerid] = 0 InAFoodPlace[playerid] = 0; strmid(PlayerInfo[playerid][pIP], "None", 0, strlen("None"), 255); PlayerInfo[playerid][pLevel] = 3; PlayerInfo[playerid][pAdmin] = 0; PlayerInfo[playerid][pHelper] = 0; PlayerInfo[playerid][pDonateRank] = 0; PlayerInfo[playerid][gPupgrade] = 0; PlayerInfo[playerid][pConnectTime] = 0; PlayerInfo[playerid][pReg] = 0; PlayerInfo[playerid][pSex] = 0; PlayerInfo[playerid] = 0; PlayerInfo[playerid][pOrigin] = 0; PlayerInfo[playerid][pExp] = 0; PlayerInfo[playerid][pAccount] = 10000; PlayerInfo[playerid][pCrimes] = 0; PlayerInfo[playerid][pDeaths] = 0; PlayerInfo[playerid][pArrested] = 0; PlayerInfo[playerid][pWantedDeaths] = 0; PlayerInfo[playerid][pPhoneBook] = 0; PlayerInfo[playerid][pLottoNr] = 0; PlayerInfo[playerid][pFishes] = 0; PlayerInfo[playerid][pBiggestFish] = 0; PlayerInfo[playerid][pJob] = 0; PlayerInfo[playerid][pPayCheck] = 0; PlayerInfo[playerid][pHeadValue] = 0; PlayerInfo[playerid][pJailed] = 0; PlayerInfo[playerid][pJailTime] = 0; PlayerInfo[playerid][pMats] = 0; PlayerInfo[playerid][pDrugs] = 0; PlayerInfo[playerid][pLeader] = 0; PlayerInfo[playerid][pMember] = 0; PlayerInfo[playerid][pFMember] = 255; PlayerInfo[playerid][pRank] = 0; PlayerInfo[playerid][pChar] = 7; PlayerInfo[playerid][pContractTime] = 0; PlayerInfo[playerid][pDetSkill] = 0; PlayerInfo[playerid][pSexSkill] = 0; PlayerInfo[playerid][pBoxSkill] = 0; PlayerInfo[playerid][pLawSkill] = 0; PlayerInfo[playerid][pMechSkill] = 0; PlayerInfo[playerid][pJackSkill] = 0; PlayerInfo[playerid][pCarSkill] = 0; PlayerInfo[playerid][pNewsSkill] = 0; PlayerInfo[playerid][pDrugsSkill] = 0; PlayerInfo[playerid][pCookSkill] = 0; PlayerInfo[playerid][pFishSkill] = 0; PlayerInfo[playerid][pSHealth] = 0.0; PlayerInfo[playerid][pHealth] = 50.0; PlayerInfo[playerid][pPos_x] = 892.4728; PlayerInfo[playerid][pPos_y] = -1638.0380; PlayerInfo[playerid][pPos_z] = 14.9471; PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; PlayerInfo[playerid][pTeam] = 3; new randphone = 100000 + random(899999);//minimum 1000 max 9999 //giving one at the start PlayerInfo[playerid][pPnumber] = randphone; PlayerInfo[playerid][pPcarkey] = 999; PlayerInfo[playerid][pPcarkey2] = 999; PlayerInfo[playerid][pPcarkey3] = 999; PlayerInfo[playerid][pPhousekey] = 255; PlayerInfo[playerid][pGangKey] = 255; PlayerInfo[playerid][pPbiskey] = 255; PlayerInfo[playerid][pCarLic] = 0; PlayerInfo[playerid][pFlyLic] = 0; PlayerInfo[playerid][pBoatLic] = 0; PlayerInfo[playerid][pFishLic] = 0; PlayerInfo[playerid][pGunLic] = 0; PlayerInfo[playerid][pGun1] = 0; PlayerInfo[playerid][pGun2] = 0; PlayerInfo[playerid][pGun3] = 0; PlayerInfo[playerid][pGun4] = 0; PlayerInfo[playerid][pAmmo1] = 0; PlayerInfo[playerid][pAmmo2] = 0; PlayerInfo[playerid][pAmmo3] = 0; PlayerInfo[playerid][pAmmo4] = 0; PlayerInfo[playerid][pCarTime] = 0; PlayerInfo[playerid][pPayDay] = 0; PlayerInfo[playerid][pPayDayHad] = 0; PlayerInfo[playerid][pWatch] = 0; PlayerInfo[playerid][pCrashed] = 0; PlayerInfo[playerid][pWins] = 0; PlayerInfo[playerid][pLoses] = 0; PlayerInfo[playerid][pAlcoholPerk] = 0; PlayerInfo[playerid][pDrugPerk] = 0; PlayerInfo[playerid][pMiserPerk] = 0; PlayerInfo[playerid][pPainPerk] = 0; PlayerInfo[playerid][pTraderPerk] = 0; PlayerInfo[playerid][pTut] = 0; PlayerInfo[playerid][pMissionNr] = 0; PlayerInfo[playerid][pWarns] = 0; PlayerInfo[playerid][pADMWarns] = 0; PlayerInfo[playerid][pFuel] = 0; PlayerInfo[playerid][pVirWorld] = 0; PlayerInfo[playerid][pRequestingBackup] = 0; PlayerInfo[playerid][pRoadblock] = 0; PlayerInfo[playerid][pFishTool] = 0; PlayerInfo[playerid][pSala] = 0; PlayerInfo[playerid][pWL] = 0; PlayerInfo[playerid][pExamen] = 0; PlayerInfo[playerid][pWeed] = 0; PlayerInfo[playerid][pWeedSeeds] = 0; strmid(PlayerInfo[playerid][pNote1], "None", 0, strlen("None"), 255); PlayerInfo[playerid][pNote1s] = 0; strmid(PlayerInfo[playerid][pHelper], "None", 0, strlen("None"), 255); PlayerInfo[playerid][pHelper] = 0; strmid(PlayerInfo[playerid][pNote2], "None", 0, strlen("None"), 255); PlayerInfo[playerid][pNote2s] = 0; strmid(PlayerInfo[playerid][pNote3], "None", 0, strlen("None"), 255); PlayerInfo[playerid][pNote3s] = 0; strmid(PlayerInfo[playerid][pNote4], "None", 0, strlen("None"), 255); PlayerInfo[playerid][pNote4s] = 0; strmid(PlayerInfo[playerid][pNote5], "None", 0, strlen("None"), 255); PlayerInfo[playerid][pNote5s] = 0; PlayerInfo[playerid][pInvWeapon] = 0; PlayerInfo[playerid][pInvAmmo] = 0; PlayerInfo[playerid][pLighter] = 0; PlayerInfo[playerid][pCigarettes] = 0; PlayerInfo[playerid][pMask] = 0; PlayerInfo[playerid][pMaskuse] = 0; PlayerInfo[playerid][pHideNumber] = 0; PlayerInfo[playerid][pSpeaker] = 0; PlayerInfo[playerid][pLocked] = 0; PlayerInfo[playerid][pUsedDrugs] = 0; PlayerInfo[playerid][pDrugTimes] = 0; CP[playerid] = 0; Robbed[playerid] = 0; SpawnChange[playerid] = 1; RobbedTime[playerid] = 0; MoneyMessage[playerid] = 0; Condom[playerid] = 0; PlayerInfo[playerid][pRobSkill] = 0; PlayerInfo[playerid][pRob] = 0; PlayerInfo[playerid][pCabinetTime] = 0; //PlayerInfo[playerid][pSQLID] = 0; ClearCrime(playerid); ClearFishes(playerid); ClearCooking(playerid); ClearGroceries(playerid); ClearMarriage(playerid); // ---------------- TextDraw ------------------- TextShow[playerid] = false; VHSCreated[playerid] = false; TextDrawShowForPlayer(playerid,lbt); TextDrawShowForPlayer(playerid,lbb); // --------------------------------------------- //----------------------------------- new pName[24]; new str[128]; GetPlayerName(playerid, pName, 24); format(str, 128,"* : %s has entered the server . (Connecting)", pName); SendAdminMessage(0x00FF00FF, str); // --------------------------------------------- SetPlayerColor(playerid,COLOR_GRAD2); for(new h = PersonalCarID; h < sizeof(CarInfo); h++) { SetVehicleParamsForPlayer(h,playerid,0,CarInfo[h][cLock]); } GetPlayerName(playerid, plname, sizeof(plname)); format(string, sizeof(string), "users/%s.ini", plname); SendClientMessage(playerid, COLOR_LIGHTGREEN, "[server]{6EF83C}Loading..."); if(fexist(string)) { gPlayerAccount[playerid] = 1; } else { gPlayerAccount[playerid] = 0; } Textdraw41[playerid] = TextDrawCreate(326.000000, 134.000000, " "); // speed gun points TextDrawAlignment(Textdraw41[playerid], 2); TextDrawBackgroundColor(Textdraw41[playerid], 255); TextDrawFont(Textdraw41[playerid], 1); TextDrawLetterSize(Textdraw41[playerid], 4.499998, 17.899999); TextDrawColor(Textdraw41[playerid], -1); TextDrawSetOutline(Textdraw41[playerid], 1); TextDrawSetProportional(Textdraw41[playerid], 1); TextDrawUseBox(Textdraw41[playerid], 1); TextDrawBoxColor(Textdraw41[playerid], 100); TextDrawTextSize(Textdraw41[playerid], 160.000000, 280.000000); Textdraw42[playerid] = TextDrawCreate(326.000000, 192.000000, " "); // Speed gun speed string TextDrawAlignment(Textdraw42[playerid], 2); TextDrawBackgroundColor(Textdraw42[playerid], 255); TextDrawFont(Textdraw42[playerid], 1); TextDrawLetterSize(Textdraw42[playerid], 0.379999, 1.700000); TextDrawColor(Textdraw42[playerid], -1); TextDrawSetOutline(Textdraw42[playerid], 1); TextDrawSetProportional(Textdraw42[playerid], 1); TextDrawUseBox(Textdraw42[playerid], 1); TextDrawBoxColor(Textdraw42[playerid], 255); TextDrawTextSize(Textdraw42[playerid], 10.000000, 280.000000); return 1; }[/pawn]
-
scz da nu am vazut k mi-ai raspuns.... si nu gasesc GivePlayerMoney... cand ii dau find nu imi apare..
-
cum chimb suma de bani care se da la inceput?
-
salut, zicetimi si mie cum schimb suma de bani care ti-o da dupa ce te inregistrezi?
-
am rezolvat cu mx_ini... nu aveam fisierul .inc... dar acuma am alta problema [pawn]D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(40) : warning 201: redefinition of constant/macro (symbol "GetPlayerMoney") D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(41) : warning 201: redefinition of constant/macro (symbol "ResetPlayerMoney") D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(42) : warning 201: redefinition of constant/macro (symbol "GivePlayerMoney") D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(43) : warning 201: redefinition of constant/macro (symbol "PutPlayerInVehicle") D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(44) : warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon") D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(45) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos") D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(46) : warning 201: redefinition of constant/macro (symbol "SetVehiclePos") D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(47) : warning 201: redefinition of constant/macro (symbol "SetPlayerHealth") D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(48) : warning 201: redefinition of constant/macro (symbol "SetPlayerArmour") D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(49) : warning 201: redefinition of constant/macro (symbol "TogglePlayerControllable") D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(2981) : error 017: undefined symbol "JB_SetPlayerPos" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(3388) : error 017: undefined symbol "JB_GivePlayerMoney" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(3394) : error 017: undefined symbol "JB_GivePlayerMoney" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(3400) : error 017: undefined symbol "JB_GivePlayerMoney" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(3406) : error 017: undefined symbol "JB_GivePlayerMoney" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(3412) : error 017: undefined symbol "JB_GivePlayerMoney" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(3418) : error 017: undefined symbol "JB_GivePlayerMoney" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(3424) : error 017: undefined symbol "JB_GivePlayerMoney" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(3506) : error 017: undefined symbol "JB_GivePlayerMoney" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(3660) : error 017: undefined symbol "JB_TogglePlayerControllable" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(3864) : error 017: undefined symbol "JB_TogglePlayerControllable" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(3877) : error 017: undefined symbol "JB_TogglePlayerControllable" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(3890) : error 017: undefined symbol "JB_TogglePlayerControllable" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(4246) : error 017: undefined symbol "JB_GivePlayerMoney" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(4277) : error 017: undefined symbol "JB_GivePlayerMoney" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(4315) : error 017: undefined symbol "JB_TogglePlayerControllable" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(4367) : error 017: undefined symbol "JB_SetPlayerPos" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(4473) : error 017: undefined symbol "JB_TogglePlayerControllable" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(4508) : error 017: undefined symbol "JB_TogglePlayerControllable" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(4532) : error 017: undefined symbol "JB_TogglePlayerControllable" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(4536) : error 017: undefined symbol "JB_SetPlayerPos" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(4962) : error 017: undefined symbol "JB_GivePlayerMoney" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(5503) : error 017: undefined symbol "JB_GivePlayerMoney" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(5635) : error 017: undefined symbol "JB_SetPlayerPos" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(5645) : error 017: undefined symbol "JB_SetPlayerPos" D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(5683) : error 017: undefined symbol "JB_TogglePlayerControllable" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.[/pawn]
-
salut. Va rog sa ma ajutati cu aceasta problema... am incercat sa inlucuesc cu y_INI dar tot asa mi-a dat...[pawn]D:\Jocuri\SAMP\Indungi HD Rp\gamemodes\R2P.pwn(10) : fatal error 100: cannot read from file: "mx_INI" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. [/pawn]