21.05.2010, 20:00
Here:
The Lines:
222-229:
1085-1087:
1532:
3525:
3686:
3976:
Thats all hte Errors & Warnings Lines.
Please Help me.
Thanks,
Tal.
Код:
cs.pwn(222) : warning 202: number of arguments does not match definition cs.pwn(223) : warning 202: number of arguments does not match definition cs.pwn(224) : warning 202: number of arguments does not match definition cs.pwn(225) : warning 202: number of arguments does not match definition cs.pwn(226) : warning 202: number of arguments does not match definition cs.pwn(227) : warning 202: number of arguments does not match definition cs.pwn(228) : warning 202: number of arguments does not match definition cs.pwn(229) : warning 202: number of arguments does not match definition cs.pwn(1085) : error 017: undefined symbol "SetPlayerSkillLevel" cs.pwn(1086) : error 017: undefined symbol "SetPlayerSkillLevel" cs.pwn(1087) : error 017: undefined symbol "SetPlayerSkillLevel" cs.pwn(1532) : error 017: undefined symbol "ShowPlayerDialog" cs.pwn(3525) : error 017: undefined symbol "IsPlayerNPC" cs.pwn(3686) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayer") cs.pwn(3976) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
222-229:
Код:
cshop = CreatePickup(1239, 1, 3175.3003, -1141.0750, 30.6428, -1);// CT shop tshop = CreatePickup(1239, 1, 3149.7278, -1252.8730, 58.2263, -1);// T shop cshop2 = CreatePickup(1239, 1, -1345.4269, -57.1077, 14.1484, -1);// CT shop 2 tshop2 = CreatePickup(1239, 1, -1237.0514, -165.4621, 14.1484, -1);// T shop 2 cshop3 = CreatePickup(1239, 1, -1936.9550, 1616.3103, 27.5018, -1);// CT shop 3 tshop3 = CreatePickup(1239, 1, -2268.6216, 1644.3895, 48.3878, -1);// T shop 3 cshop4 = CreatePickup(1239, 1, 2233.5200,-1724.4127,13.5524, -1);// CT shop 4 tshop4 = CreatePickup(1239, 1, 2499.7739,-1685.5599,13.4582, -1);// T shop 4
Код:
SetPlayerSkillLevel(playerid,WEAPONSKILL_PISTOL,200); SetPlayerSkillLevel(playerid,WEAPONSKILL_SAWNOFF_SHOTGUN,200); SetPlayerSkillLevel(playerid,WEAPONSKILL_MICRO_UZI,200);
Код:
ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Weapon Lists", "Kevlar Vest ($5,000)\nKnife ($1,000)\nColt45 ($2,500)\nDesert Eagle ($3,500)\nSilenced Pistol ($1,000)\nMac10 ($4,500)\nMP5 ($5,000)\nAK-47 ($5,000)\nM4 ($5,000)\nShotgun ($2,500)\nSpas12 ($50,000)\nRifle ($10,000)\nSniper Rifle ($15,000)\nGrenades ($10,000)\nTeargas ($5,000)\nRocket Lancher ($1,000,000)", "Select", "Cancel"); }
Код:
if(IsPlayerConnected(playerid) && !IsPlayerNPC(playerid))
Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
Please Help me.
Thanks,
Tal.