F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(1920) : error 029: invalid expression, assumed zero
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(1927) : error 010: invalid function or declaration
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2106) : error 029: invalid expression, assumed zero
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2106 -- 2107) : warning 215: expression has no effect
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2107) : error 001: expected token: ";", but found "if"
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2107) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2107) : fatal error 107: too many error messages on one line
public Encrypt(string[])
{ // line 1920
for(new x=0; x < strlen(string); x++)
}
string[0] += (3^0) * (0 % 15);
if(string[0] > (0xff))
{
string[0] -= 256;
}
}
return 1; // line 1927
}
public IsAtClothShop(playerid)
{
if(IsPlayerConnected(playerid))
} // line 2106
if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047)) // line 2107
{//Binco & Suburban
return 1;
}
else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047))
{//Zip & Victim
return 1;
}
}
return 0;
}
public Encrypt(string[])
{
for(new x=0; x < strlen(string); x++)
{
string[0] += (3^0) * (0 % 15);
if(string[0] > (0xff))
{
string[0] -= 256;
}
}
return 1;
}
public IsAtClothShop(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047)) // line 2107
{//Binco & Suburban
return 1;
}
else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047))
{//Zip & Victim
return 1;
}
}
return 0;
}
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2107) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2111) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2122) : error 029: invalid expression, assumed zero
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2123) : error 001: expected token: ";", but found "if"
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2123) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2123) : fatal error 107: too many error messages on one line
public IsAtClothShop(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047)) // line 2107
{//Binco & Suburban
return 1;
}
else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047))
{//Zip & Victim
return 1;
}
}
return 0;
}
public IsAtGasStation(playerid)
{
if(IsPlayerConnected(playerid))
}
if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906))
{//LS
return 1;
}
else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391))
{//LS
return 1;
}
else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175))
{//SF
return 1;
}
else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484))
{//Between LS and SF
return 1;
}
else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968))
{//LV
return 1;
}
else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165))
{//LV
return 1;
}
else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625))
{//LV
return 1;
}
}
return 0;
}
public IsAtGasStation(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906))
{//LS
return 1;
}
else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391))
{//LS
return 1;
}
else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175))
{//SF
return 1;
}
else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484))
{//Between LS and SF
return 1;
}
else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968))
{//LV
return 1;
}
else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165))
{//LV
return 1;
}
else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625))
{//LV
return 1;
}
}
return 0;
}
public IsAtClothShop(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047)) // line 2107
//Binco & Suburban
return 1;
}
else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047))
{//Zip & Victim
return 1;
}
}
return 0;
}
public IsAtClothShop(playerid)
{
if(IsPlayerConnected(playerid))
{
if(IsPlayerInRangeOfPoint(playerid,25.0,207.5627,-103.7291,1005.2578) || IsPlayerInRangeOfPoint(playerid,25.0,203.9068,-41.0728,1001.8047)) // line 2107
{//Binco & Suburban
return 1;
}
else if(IsPlayerInRangeOfPoint(playerid,30.0,214.4470,-7.6471,1001.2109) || IsPlayerInRangeOfPoint(playerid,50.0,161.3765,-83.8416,1001.8047))
{//Zip & Victim
return 1;
}
}
return 0;
}
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2123) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2127) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2131) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2135) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2139) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2143) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2147) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2158) : error 029: invalid expression, assumed zero
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2159) : error 001: expected token: ";", but found "if"
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2159) : error 004: function "PlayerToPoint" is not implemented
F:\Users\Daniel\Desktop\GamingClub RolepLay\gamemodes\DreamWorld.pwn(2159) : fatal error 107: too many error messages on one line
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;
}
pawn Код:
|
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;
}