Can someone please help me im haveing a promblem with this
#1

if(strcmp(x_weapon,"knife",true) == 0) { if(PlayerInfo[playerid][pMats] > 99) { weapon[playerid] = 4; {price[playerid] = 100; ammo[playerid] = 1; } else { SendClientMessage(playerid,COLOR_GREY," Not enough Materials for that Weapon!"); return 1; } }
else if(strcmp(x_weapon,"bat",true) == 0) { if(PlayerInfo[playerid][pMats] > 99) { weapon[playerid] = {; price[playerid] = 100; ammo[playerid] = 1; } else { SendClientMessage(playerid,COLOR_GREY," Not enough Materials for that Weapon!"); return 1; } }
else if(strcmp(x_weapon,"sdpistol",true) == 0) { if(PlayerInfo[playerid][pMats] > 99) { weapon[playerid]{ = 23; price[playerid] = 100; ammo[playerid] = 100000; } else { SendClientMessage(playerid,COLOR_GREY," Not enough Materials for that Weapon!"); return 1; } }
else if(strcmp(x_weapon,"flowers",true) == 0) { if(PlayerInfo[playerid][pMats] > 24) { weapon[playerid] = 14; price[playerid] = 25; ammo[playerid] = 1; } else { SendClientMessage(playerid,COLOR_GREY," Not enough Materials for that Weapon!"); return 1; } }
else if(strcmp(x_weapon,"eagle",true) == 0) { if(PlayerInfo[playerid][pMats] > 199) { weapon[playerid] = 24; price[playerid] = 150; ammo[playerid] = 100000; } else { SendClientMessage(playerid,COLOR_GREY," Not enough Materials for that Weapon!"); return 1; } }
else if(strcmp(x_weapon,"mp5",true) == 0) { if(PlayerInfo[playerid][pMats] > 299) { weapon[playerid] = 29; price[playerid] = 300; ammo[playerid] = 1000000; } else { SendClientMessage(playerid,COLOR_GREY," Not enough Materials for that Weapon!"); return 1; } }
else if(strcmp(x_weapon,"shotgun",true) == 0) { if(PlayerInfo[playerid][pMats] > 399) { weapon[playerid] = 25; price[playerid] = 400; ammo[playerid] = 1000000; } else { SendClientMessage(playerid,COLOR_GREY," Not enough Materials for that Weapon!"); return 1; } }
else if(strcmp(x_weapon,"spas12",true) == 0) { if(PlayerInfo[playerid][pMats] > 599) { weapon[playerid] = 27; price[playerid] = 600; ammo[playerid] = 1000000; } else { SendClientMessage(playerid,COLOR_GREY," Not enough Materials for that Weapon!"); return 1; } }
else if(strcmp(x_weapon,"ak47",true) == 0) { if(PlayerInfo[playerid][pMats] > 999) { weapon[playerid] = 30; price[playerid] = 1000; ammo[playerid] = 1000000; } else { SendClientMessage(playerid,COLOR_GREY," Not enough Materials for that Weapon!"); return 1; } }
else if(strcmp(x_weapon,"m4",true) == 0) { if(PlayerInfo[playerid][pMats] > 1199) { weapon[playerid] = 31; price[playerid] = 1200; ammo[playerid] = 1000000; } else { SendClientMessage(playerid,COLOR_GREY," Not enough Materials for that Weapon!"); return 1; } }
else if(strcmp(x_weapon,"rifle",true) == 0) { if(PlayerInfo[playerid][pMats] > 599) { weapon[playerid] = 33; price[playerid] = 600; ammo[playerid] = 1000000; } else { SendClientMessage(playerid,COLOR_GREY," Not enough Materials for that Weapon!"); return 1; } }
else { SendClientMessage(playerid,COLOR_GREY," Invalid Weapon name!"); return 1; }
if (ProxDetectorS(5.0, playerid, giveplayerid))
{


When i click compile i get like 24 errors look


C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2185) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2214) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2250) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2251) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(227 : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2749) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2760) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2772) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2776) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(278 : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2792) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2796) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2800) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2804) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(280 : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2812) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2816) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(282 : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2832) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2836) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2840) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2844) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2856) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2860) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2864) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Family\Documents\samp022server.win32\game modes\lsa.pwn(2876) : error 004: function "PlayerToPoint" is not implemented

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.



So can someone show me wat i did wrong or correct it for me please thanks
Reply
#2

Use [pawn] tags. I cant see shit.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)