15.07.2013, 16:42
Hi i need help plz.
Totate liniile
Код:
C:\Users\Alex\Desktop\dm.pwn(29) : error 017: undefined symbol "pInfo" C:\Users\Alex\Desktop\dm.pwn(29) : error 009: invalid array size (negative, zero or out of bounds) C:\Users\Alex\Desktop\dm.pwn(106) : warning 235: public function lacks forward declaration (symbol "SetPlayerSpawn") C:\Users\Alex\Desktop\dm.pwn(110) : error 017: undefined symbol "pDM" C:\Users\Alex\Desktop\dm.pwn(115) : error 017: undefined symbol "dmRandomSpawns" C:\Users\Alex\Desktop\dm.pwn(115) : error 029: invalid expression, assumed zero C:\Users\Alex\Desktop\dm.pwn(115) : warning 215: expression has no effect C:\Users\Alex\Desktop\dm.pwn(116) : error 017: undefined symbol "dmRandomSpawns" C:\Users\Alex\Desktop\dm.pwn(116) : warning 215: expression has no effect C:\Users\Alex\Desktop\dm.pwn(116) : error 001: expected token: ";", but found "]" C:\Users\Alex\Desktop\dm.pwn(116) : error 029: invalid expression, assumed zero C:\Users\Alex\Desktop\dm.pwn(116) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 9 Errors.
Totate liniile
Код:
#include <a_samp> #if defined FILTERSCRIPT new StartingDM; new dmevent = 0; new dmprize; new firstblooddm; new PlayerDM[MAX_PLAYERS]; new DMWinner = 999; new DMWinnerKills = 0; new Float:dmRandomSpawns[4][4] = { {2153.0376,-5383.0410,6.8860,195.5259}, {2081.6714,-5415.8008,1.1086,272.9199}, {2148.2546,-5479.7080,8.4376,78.6748}, {2145.9229,-5510.9849,5.4576,337.4671} }; enum pInfo { pdmKills, pdmKills2, pdmDeaths, pDM, }; #endif new PlayerInfo[MAX_PLAYERS][pInfo]; public OnFilterScriptInit() { print("\n--------------------------------------"); print(" DM event by Mush"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } public OnGameModeInit() { CreateObject(4876, 2137.73853, -5437.22998, -1.50472, 0.00000, 0.00000, 0.00000); CreateObject(4876, 2120.52637, -5429.98975, -2.62425, 0.00000, 0.00000, 142.01994); CreateObject(4876, 2143.81470, -5464.12451, -1.50472, 0.00000, 0.00000, -28.97999); CreateObject(4876, 2166.90576, -5440.31934, -1.50472, 0.00000, 0.00000, 27.17999); CreateObject(4876, 2153.27563, -5397.34814, -1.47687, 0.00000, 0.00000, 85.43998); CreateObject(3507, 2204.35620, -5471.27637, -0.00667, 0.00000, 0.00000, 0.00000); CreateObject(3507, 2092.53345, -5379.53760, 5.33300, 0.00000, 0.00000, 0.00000); CreateObject(8493, 2117.44531, -5504.94971, 17.28808, 3.90000, 19.80000, 84.23999); CreateObject(11427, 2163.28882, -5445.68115, 10.68680, -7.74000, 26.40000, 0.00000); CreateObject(11444, 2094.67334, -5432.97705, 2.19813, 0.00000, 0.00000, 0.00000); CreateObject(11444, 2105.73730, -5410.49463, 3.06552, 0.00000, 0.00000, -120.17999); CreateObject(11428, 2122.28369, -5440.15723, 6.59760, 4.62000, 1.38000, -59.52000); CreateObject(11428, 2146.61816, -5476.63574, 11.42053, 4.62000, 1.38000, -201.59998); CreateObject(13206, 2134.84399, -5455.88623, 5.45524, -1.62000, -8.93999, 3.96000); CreateObject(3359, 2152.33325, -5383.86621, 4.91128, 0.00000, 0.00000, 0.00000); CreateObject(18451, 2154.61890, -5408.38574, 3.91856, 0.00000, 0.00000, -109.97997); CreateObject(3252, 2140.47925, -5406.57617, 3.48091, 0.00000, 0.00000, 0.00000); CreateObject(3252, 2147.08838, -5404.24512, 4.78857, 16.20001, -35.57997, 0.00000); CreateObject(11444, 2148.88721, -5375.66455, 3.38977, 0.00000, 0.00000, 0.00000); CreateObject(11443, 2174.99658, -5416.16016, 3.03239, 0.00000, 0.00000, 0.00000); CreateObject(13005, 2154.89648, -5386.92334, 3.93461, -3.24000, 1.32000, 0.00000); CreateObject(13005, 2174.16968, -5410.58740, -17.08412, 3.30001, -42.72000, -88.49997); CreateObject(13005, 2171.59180, -5480.21484, -15.53909, 3.30001, -42.72000, 85.26003); CreateObject(3374, 2136.26563, -5419.81104, 4.33153, 0.00000, 0.00000, 0.00000); CreateObject(3374, 2136.26563, -5419.81104, 6.73611, 0.00000, 0.00000, 0.00000); CreateObject(3374, 2136.26563, -5419.81104, 8.98492, 0.00000, 0.00000, 0.00000); CreateObject(3261, 2137.77710, -5421.48633, 7.95450, 0.00000, 0.00000, 0.00000); CreateObject(3261, 2134.34033, -5421.57568, 7.95450, 0.00000, 0.00000, 0.00000); CreateObject(705, 2141.92554, -5457.04102, 5.57708, 0.00000, 0.00000, 0.00000); CreateObject(705, 2194.04712, -5429.36230, 2.36458, 0.00000, 0.00000, 0.00000); CreateObject(705, 2109.70679, -5386.56982, -0.63924, 0.00000, 0.00000, 0.00000); CreateObject(705, 2174.47876, -5374.41797, 3.69213, 0.00000, 0.00000, 0.00000); CreateObject(705, 2146.88965, -5415.66895, 3.06320, 0.00000, 0.00000, 0.00000); CreateObject(3276, 2124.02026, -5374.20654, 3.87943, -0.06000, -3.24000, 0.00000); CreateObject(3276, 2134.71948, -5374.28760, 4.13518, 0.60000, 0.36000, 0.00000); CreateObject(3276, 2145.51489, -5374.15479, 4.13518, 0.60000, 0.36000, 0.00000); CreateObject(3276, 2148.66992, -5421.36523, 5.78667, 1.44000, -4.26000, -79.13999); CreateObject(3276, 2150.86108, -5432.26025, 6.52881, 4.62000, -1.50000, -79.13999); CreateObject(705, 2093.94800, -5457.53223, -0.91360, 0.00000, 0.00000, 0.00000); CreateObject(3279, 2083.97632, -5417.08984, -1.26298, 0.00000, 0.00000, 0.00000); CreateObject(3279, 2207.71973, -5407.53955, -0.35697, 0.00000, 0.00000, -157.01996); CreateObject(3260, 2145.99609, -5509.98828, 7.55886, 90.00000, 0.00000, 0.00000); CreateObject(3260, 2143.99341, -5509.64355, 8.46066, 90.00000, 0.00000, 0.00000); CreateObject(3260, 2142.02783, -5509.69531, 9.57616, 90.00000, 0.00000, 0.00000); CreateObject(3260, 2140.23438, -5509.33447, 10.66503, 90.00000, 0.00000, 0.00000); CreateObject(3260, 2138.31787, -5509.29395, 11.48245, 90.00000, 0.00000, 0.00000); CreateObject(3260, 2137.17456, -5507.13086, 12.52990, 90.00000, 0.00000, 0.00000); CreateObject(3260, 2137.51343, -5505.07617, 13.44145, 90.00000, 0.00000, 0.00000); CreateObject(3260, 2138.98315, -5503.04834, 14.92629, 90.00000, 0.00000, 0.00000); CreateObject(3260, 2137.40308, -5504.15186, 13.44145, 90.00000, 0.00000, 0.00000); CreateObject(3260, 2141.22681, -5504.17285, 15.74995, 90.00000, 0.00000, 0.00000); CreateObject(3276, 2162.48828, -5391.76367, 7.64055, 0.00000, 0.00000, -38.33999); return 1; } public OnGameModeExit() { return 1; } public SetPlayerSpawn(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pDM] == 1 && dmevent) { ResetPlayerWeapons(playerid); ResetPlayerWeapons(playerid); new string[128]; new rand = random(sizeof(dmRandomSpawns)); SetPlayerPos(playerid, dmRandomSpawns[rand][0], dmRandomSpawns[rand][1], dmRandomSpawns[rand][2], dmRandomSpawns[rand][3]); SetPlayerFacingAngle(playerid, dmRandomSpawns[rand][4]); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GivePlayerWeapon(playerid, 38, 9999);// Minigun SendClientMessage(playerid,0xFFD700AA, string); SetPlayerColor(playerid,0xff00ff66); ClearCrime(playerid); WantedLevel[playerid] = 0; WantedPoints[playerid] = 0; } } return 1; } public OnPlayerRequestClass(playerid, classid) { return 1; } forward DMEnded(); forward AnnounceDM(); public AnnounceDM() { DMWinner = 999; DMWinnerKills = 0; for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerDMing[i] != 0) { SendClientMessageToAll(0xFFD700AA, "{F3FF02}[DM Event] {CCCCCC}Eventul v-a incepe in {F3FF02}10 secunde! {FF9933}Get Ready!"); StartingDM = 0; SetTimer("DMEvent", 10000, 0); } } } SetTimer("DMEnded", 240000, 0); return 1; } public DMEnded() { new string[256]; for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerDM[i] != 0) { if(IsPlayerConnected(DMWinner)) { GetPlayerName(DMWinner, name, sizeof(name)); SendClientMessageToAll(0xFFD700AA,"{F3FF02}=========================== DM Event ==========================="); format(string, sizeof(string), "{F3FF02}[DM Event]{FF0000} %s (ID: %d) {CCCCCC}a castigat cu {F3FF02} %d kills", PlayerName(killerid), killerid, DMWinnerKills); SendClientMessageToAll(0xFFD700AA, string); format(string, sizeof(string), "{F3FF02}[DM Event] {CCCCCC}Si acesta a castigat premiul in valoare de{00CC00} $%d! {FF9900}Event Over!", dmprize); SendClientMessageToAll(0xFFD700AA, string); SendClientMessageToAll(0xFFD700AA,"{F3FF02}=========================== DM Event ==========================="); } ClearCrime(playerid); ResetPlayerWeapons(i) PlayerDM[i] = 0;; SpawnPlayer(i); } } } AnnouncedDM = 0; GivePlayerMoney(killerid, GGPrize); dmevent = 0; return 1; } forward dmevent(); public dmevent() { for(new i = 0; i <= MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pDM] == 1) { new rand = random(sizeof(minigunRandomSpawns)); SetPlayerPos(i, dmRandomSpawns[rand][0], dmRandomSpawns[rand][1], dmRandomSpawns[rand][2], dmRandomSpawns[rand][3]); SetPlayerFacingAngle(i, dmRandomSpawns[rand][4]); SetPlayerInterior(i, 0); SetPlayerHealth(i, 100); SetPlayerArmour(playerid, 100); ResetPlayerWeapons(i); TogglePlayerControllable(i, 0); SetPlayerColor(i,0xFFD700AA); GivePlayerWeapon(i, 38, 9999);// Minigun } } } dmevent = 1; SendClientMessageToAll(0xFFD700AA, "{F3FF02}[DM Event] {CCCCCC}Eventul incepe acum!"); SetTimer("dmcd1", 1000, false); SetTimer("dmcd2", 2000, false); SetTimer("dmcd3", 3000, false); SetTimer("dmcd4", 4000, false); SetTimer("dmcd5", 5000, false); SetTimer("dmcd6", 6000, false); return 1; } forward dmcd1(); forward dmcd2(); forward dmcd3(); forward dmcd4(); forward dmcd5(); forward dmcd6(); public dmcd1() { for(new i = 0; i <= MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pDM] == 1) { GameTextForPlayer(i,"~r~DM Countdown: ~n~~n~~g~5",1000,4); } } } return 1; } public dmcd2() { for(new i = 0; i <= MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pDM] == 1) { GameTextForPlayer(i,"~r~DM Countdown: ~n~~n~~g~4",1000,4); } } } return 1; } public dmcd3() { for(new i = 0; i <= MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pDM] == 1) { GameTextForPlayer(i,"~r~DM Countdown: ~n~~n~~g~3",1000,4); } } } return 1; } public dmcd4() { for(new i = 0; i <= MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pDM] == 1) { GameTextForPlayer(i,"~r~DM Countdown: ~n~~n~~g~2",1000,4); } } } return 1; } public dmcd5() { for(new i = 0; i <= MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pDM] == 1) { GameTextForPlayer(i,"~r~DM Countdown: ~n~~n~~g~1",1000,4); } } } return 1; } public dmcd6() { for(new i = 0; i <= MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pDM] == 1) { GameTextForPlayer(i,"~r~DM Countdown: ~n~~n~~g~START!!!",1000,4); TogglePlayerControllable(i, 1); } } } return 1; } public OnPlayerConnect(playerid) { PlayerDMing[playerid] = 0; return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { return 1; } public OnPlayerDeath(playerid, killerid, reason) { if(PlayerInfo[killerid][pDM] == 1 && dmevent) { if(!firstbloodgm) { for(new i; i <= MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pDM] == 1) { format(str, 128, "~r~%s ~y~ draw firstblood on ~g~%s", PlayerName(killerid), PlayerName(playerid)); GameTextForPlayer(i, str, 4000, 3); GivePlayerWeapon(i, 38, 9999);// Minigun } } } firstblooddm = 1; } PlayerInfo[killerid][pdmKills2]++; PlayerInfo[killerid][pdmKills]++; PlayerInfo[playerid][pdmDeaths]++; GivePlayerWeapon(playerid, 38, 9999);// Minigun } } ClearCrime(playerid); if(PlayerDMing[playerid] != 0) { PlayerDMKills[killerid] ++; if(PlayerDMKills[killerid] > DMWinnerKills) { new killer[MAX_PLAYER_NAME]; DMWinner = killerid; DMWinnerKills = PlayerDMKills[killerid]; GetPlayerName(killerid, killer, sizeof(killer)); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerDMing[i] != 0) { format(string, sizeof(string), "* {00FFFF}%s {FFFFFF}este оn frunte cu {00FFFF}%d {FFFFFF}Kills.",killer,DMWinnerKills); SendClientMessage(i, COLOR_WHITE, string); } } } } } return 1; } public OnPlayerRegister(playerid, password[]) { if(IsPlayerConnected(playerid)) { if (hFile) { new var[32]; format(var, 128, "pdmKills=%d\n",PlayerInfo[playerid][pdmKills]);fwrite(hFile, var); format(var, 128, "pdmKills2=%d\n",PlayerInfo[playerid][pdmKills2]);fwrite(hFile, var); format(var, 128, "pdmDeaths=%d\n",PlayerInfo[playerid][pdmDeaths]);fwrite(hFile, var); format(var, 128, "pDM=%d\n",PlayerInfo[playerid][pDM]);fwrite(hFile, var); } } return 1; } public OnPlayerUpdateEx(playerid) { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid]) { if (hFile) { new var[32]; format(var, 128, "pdmKills=%d\n",PlayerInfo[playerid][pdmKills]);fwrite(hFile, var); format(var, 128, "pdmKills2=%d\n",PlayerInfo[playerid][pdmKills2]);fwrite(hFile, var); format(var, 128, "pdmDeaths=%d\n",PlayerInfo[playerid][pdmDeaths]);fwrite(hFile, var); format(var, 128, "pDM=%d\n",PlayerInfo[playerid][pDM]);fwrite(hFile, var); } } } return 1; } public OnPlayerLogin(playerid,password[]) { if ( UserFile ) { if(strcmp(PlayerInfo[playerid][pKey],password, true ) == 0 ) { new key[ 256 ] , val[ 256 ]; new Data[ 256 ]; while ( fread( UserFile , Data , sizeof( Data ) ) ) { if( strcmp( key , "dmKills" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pdmKills] = strval( val ); } if( strcmp( key , "dmKills2" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pdmKills2] = strval( val ); } if( strcmp( key , "dmDeaths" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pdmDeaths] = strval( val ); } if( strcmp( key , "DM" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDM] = strval( val ); } }//end while fclose(UserFile);//close the file after everything has been read in the while } if(dmevent == 0) { PlayerInfo[playerid][pdmKills2] = 0; PlayerInfo[playerid][pdmKills] = 0; PlayerInfo[playerid][pdmDeaths] = 0; PlayerInfo[playerid][pDM] = 0; } return 1; } public OnVehicleSpawn(vehicleid) { return 1; } public OnVehicleDeath(vehicleid, killerid) { return 1; } public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmd, "/leavedm", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pDM] == 1 && dmevent) { PlayerInfo[playerid][pdmKills2] = 0; PlayerInfo[playerid][pdmKills] = 0; PlayerInfo[playerid][pdmDeaths] = 0; ResetPlayerWeapons(playerid); SpawnPlayer(playerid); PlayerInfo[playerid][pDM] = 0; SCM(playerid, COLOR_WHITE, "Ai parasit DM Event!"); } else { SendClientMessage(playerid, COLOR_GRAD1, " Momentan DM event nu este activat"); } } return 1; } if(strcmp(cmd, "/enddmevent", true)==0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 1337) { SendClientMessageToAll(0xFFD700AA,"{F3FF02}=========================== DM Event ==========================="); SendClientMessageToAll(0xFFD700AA,"{F3FF02}[DM Event] {CCCCCC}Eventul actual a fost anulat de catre un {F3FF02}admin!"); for(new i = 0; i <= MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pDM] > 0) { PlayerInfo[i][pdmKills2] = 0; PlayerInfo[i][pdmKills] = 0; PlayerInfo[i][pdmDeaths] = 0; ResetPlayerWeapons(i); SpawnPlayer(i); PlayerInfo[i][pDM] = 0; firstblooddm = 0; } } } dmevent = 0; } } else { SendClientMessage(playerid, COLOR_GREY, "Nu ai ranku necesar pentru a folosi aceasta comanda !"); return 1; } return 1; } if(strcmp(cmd, "/dmevent", true)==0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 4) { if(!dmevent) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "{00FF00}Tasteazг:{FFFFFF} /dmevent (prize - minim 200.000$)"); return 1; } new prize; prize = strval(tmp); if(GetPlayerMoney(playerid) < prize) { SendClientMessage(playerid, COLOR_GRAD2, "Nu ai suficienti bani pentru a incepe eventul!"); return 1; } GivePlayerMoney(playerid, -prize); dmprize = prize; SendClientMessageToAll(0xFFD700AA,"{F3FF02}=========================== DM Event ==========================="); SendClientMessageToAll(0xFFD700AA,"{CCCCCC}Eventul {F3FF02}DM {CCCCCC}este pe cale sa inceapa!"); format(string, sizeof(string), "{CCCCCC}Organizator:{F3FF02} %s {CCCCCC}|| Premiu: {00CC00}%d {CCCCCC}|| Pentru inscriere tastati:{FF0000} /joindm", PlayerName(playerid), prize); SendClientMessageToAll(0xFFD700AA, string); SendClientMessageToAll(0xFFD700AA, "{CCCCCC}Acesta v-a incepe in {F3FF02}2 minute{CCCCCC}si va dura {F3FF02}15 minute"); SendClientMessageToAll(0xFFD700AA,"{F3FF02}=========================== Minigun Event ==========================="); StartingDM = 1; SetTimer("AnnounceDM", 110000, 0); } else { SendClientMessage(playerid, COLOR_GREY, "{CCCCCC}Este deja un event {F3FF02}DM {CCCCCC}in desfasurare!"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "You can't use that command"); return 1; } } return 1; } if(strcmp(cmd, "/joindm", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerDMing[playerid] != 0) { if(WantedLevel[playerid] >= 1) { SendClientMessage(playerid,COLOR_GREY," You can`t use this command, you are currently Wanted !"); return 1; } if(PlayerInfo[playerid][pDM] == 1) { SendClientMessage(playerid,0xFFD700AA,"{CCCCCC}Esti deja inscris in {F3FF02}DM Event!"); return 1; } if(HuntedPlayer == playerid) { SendClientMessage(playerid,COLOR_GREY,"{CCCCCC}Nu poti intra in {F3FF02}DM Event {CCCCCC}cat timp esti in {FF6600}Hunting Event!"); return 1; } if(StartingDM) { SendClientMessage(playerid, 0xFFD700AA, "{F3FF02}[DM Event] {CCCCCC}Te-ai inscris in {F3FF02}DM Event!"); PlayerInfo[playerid][pDM] = 1; } else { SendClientMessage(playerid, COLOR_GREY, "{F3FF02}[DM Event] {CCCCCC}Eventul nu este in curs de desfasurare!"); return 1; } } return 1; } return 0; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { return 1; } public OnPlayerEnterCheckpoint(playerid) { return 1; } public OnPlayerLeaveCheckpoint(playerid) { return 1; } public OnPlayerEnterRaceCheckpoint(playerid) { return 1; } public OnPlayerLeaveRaceCheckpoint(playerid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } public OnObjectMoved(objectid) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { return 1; } public OnVehicleMod(playerid, vehicleid, componentid) { return 1; } public OnVehiclePaintjob(playerid, vehicleid, paintjobid) { return 1; } public OnVehicleRespray(playerid, vehicleid, color1, color2) { return 1; } public OnPlayerSelectedMenuRow(playerid, row) { return 1; } public OnPlayerExitedMenu(playerid) { return 1; } public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) { return 1; } public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { return 1; } public OnRconLoginAttempt(ip[], password[], success) { return 1; } public OnPlayerUpdate(playerid) { return 1; } public OnPlayerStreamIn(playerid, forplayerid) { return 1; } public OnPlayerStreamOut(playerid, forplayerid) { return 1; } public OnVehicleStreamIn(vehicleid, forplayerid) { return 1; } public OnVehicleStreamOut(vehicleid, forplayerid) { return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { return 1; } public OnPlayerClickPlayer(playerid, clickedplayerid, source) { return 1; }