12.04.2012, 12:52
when compiling gamemod gives me these errors
line 5489
line 5493
line 5507
line 5511
line 5515
line [b]5519[b/]
line 5523
line [b]5527[b]
line 5531
All line of 5541 to 5576
line 5606
line 5643
line 5803 to 5830 is:
All SCRIPT on 5803 is:
Give REP ++ anyone help me !!!
Code:
C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5489) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5493) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5507) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5511) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5515) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5519) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5523) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5527) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5531) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5545) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5549) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5553) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5557) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5561) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5584) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5588) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5592) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5606) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5643) : error 004: function "ProxDetector" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5657) : error 004: function "ProxDetector" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5682) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5803) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5808) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5814) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5828) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\emp7y\Desktop\iLg\gamemodes\iLg.pwn(5830) : error 079: inconsistent return types (array & non-array) Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
Code:
if(PlayerToPoint(1.0,playerid,205.6287,-129.9019,1003.5078) || PlayerToPoint(1.0,playerid,208.9152,-100.6776,1005.2578))
Code:
if(PlayerToPoint(1.0,playerid,208.2243,-129.6928,1003.5078) || PlayerToPoint(1.0,playerid,206.4005,-100.5168,1005.2578))
Code:
if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906))
Code:
else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391))
Code:
else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175))
Code:
else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484))
Code:
else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968))
Code:
else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165))
Code:
else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625))
Code:
public IsAtFishPlace(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(1.0,playerid,403.8266,-2088.7598,7.8359) || PlayerToPoint(1.0,playerid,398.7553,-2088.7490,7.8359)) {//Fishplace at the bigwheel return 1; } else if(PlayerToPoint(1.0,playerid,396.2197,-2088.6692,7.8359) || PlayerToPoint(1.0,playerid,391.1094,-2088.7976,7.8359)) {//Fishplace at the bigwheel return 1; } else if(PlayerToPoint(1.0,playerid,383.4157,-2088.7849,7.8359) || PlayerToPoint(1.0,playerid,374.9598,-2088.7979,7.8359)) {//Fishplace at the bigwheel return 1; } else if(PlayerToPoint(1.0,playerid,369.8107,-2088.7927,7.8359) || PlayerToPoint(1.0,playerid,367.3637,-2088.7925,7.8359)) {//Fishplace at the bigwheel return 1; } else if(PlayerToPoint(1.0,playerid,362.2244,-2088.7981,7.8359) || PlayerToPoint(1.0,playerid,354.5382,-2088.7979,7.8359)) {//Fishplace at the bigwheel return 1; } } return 0; } public OnVehicleSpawn(vehicleid) { if(IsAnOwnableCar(vehicleid)) { SetVehicleModifications(vehicleid); ChangeVehicleColor(vehicleid, CarInfo[vehicleid][cColorOne],CarInfo[vehicleid][cColorTwo]); } return 1; }
Code:
if(PlayerToPoint(5.0,playerid,2194.2246,-1886.7311,883.7747)||
Code:
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
Code:
return 1; } else { SCM(playerid,WHITE,"Tu ai dejea un bilet."); return 1; } } if(listitem==1) { ShowPlayerDialog(playerid,STATIMENU+1,DIALOG_STYLE_LIST,"Alege cu cate file vrei sa fie abonamentul:",""color_yellow"7 "wh"file\t\t"color_green"700$\n"color_yellow"12 "wh"file\t\t"color_green"1800$\n"color_yellow"19 "wh"file\t\t"color_green"2900$\n"color_yellow"26 "wh"file\t\t"color_green"3800$\n"color_yellow"30 "wh"file\t\t"color_green"6500$","Cumpara","Iesi"); return 1; } if(listitem==2) { new str[2970]; format(str,2970," \n"); format(str,2970,"%s"wh"Daca iti cumperi un bilet il vei putea folosi o singura decat o data.\n",str); format(str,2970,"%s"wh"Daca iti faci abonament il vei putea folosi in functie de cate file ai la el.\n",str); format(str,2970,"%s"wh"Nu ai voie sa iti cumperi mai mult de un abonament sau mai mult de un bilet.\n",str); ShowPlayerDialog( playerid, STATIMENU+2, DIALOG_STYLE_MSGBOX, ""color_yellow"• Informatii clienti: •", str, "Iesi", "" ); } } else// iesire { return 1; } return 1;
Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { new string[256]; new sendername[MAX_PLAYER_NAME]; new ConsumingMoney1[MAX_PLAYERS]; if(dialogid==STATIMENU) { if(response) { if(listitem==0) { if(PlayerInfo[playerid][pBilet] == 0) { SCM(playerid,WHITE,"Ai cumparat un bilet. O zi buna !"); PlayerInfo[playerid][pBilet] = 1; return 1; } else { SCM(playerid,WHITE,"Tu ai dejea un bilet."); return 1; } } if(listitem==1) { ShowPlayerDialog(playerid,STATIMENU+1,DIALOG_STYLE_LIST,"Alege cu cate file vrei sa fie abonamentul:",""color_yellow"7 "wh"file\t\t"color_green"700$\n"color_yellow"12 "wh"file\t\t"color_green"1800$\n"color_yellow"19 "wh"file\t\t"color_green"2900$\n"color_yellow"26 "wh"file\t\t"color_green"3800$\n"color_yellow"30 "wh"file\t\t"color_green"6500$","Cumpara","Iesi"); return 1; } if(listitem==2) { new str[2970]; format(str,2970," \n"); format(str,2970,"%s"wh"Daca iti cumperi un bilet il vei putea folosi o singura decat o data.\n",str); format(str,2970,"%s"wh"Daca iti faci abonament il vei putea folosi in functie de cate file ai la el.\n",str); format(str,2970,"%s"wh"Nu ai voie sa iti cumperi mai mult de un abonament sau mai mult de un bilet.\n",str); ShowPlayerDialog( playerid, STATIMENU+2, DIALOG_STYLE_MSGBOX, ""color_yellow"• Informatii clienti: •", str, "Iesi", "" ); } } else// iesire { return 1; } return 1; }