Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Erori:
- D:\Includes\include\mSelection.inc(207) : warning 219: local variable "x" shadows a variable at a preceding level
- D:\Includes\include\mSelection.inc(222) : warning 219: local variable "x" shadows a variable at a preceding level
- D:\Includes\include\mSelection.inc(426) : warning 219: local variable "x" shadows a variable at a preceding level
- D:\Includes\include\mSelection.inc(556) : warning 219: local variable "x" shadows a variable at a preceding level
- D:\Includes\include\fly.inc(45) : warning 219: local variable "x" shadows a variable at a preceding level
- D:\Includes\include\fly.inc(45) : warning 219: local variable "y" shadows a variable at a preceding level
- D:\Includes\include\fly.inc(45) : warning 219: local variable "z" shadows a variable at a preceding level
- D:\Includes\include\fly.inc(60) : warning 219: local variable "x" shadows a variable at a preceding level
- D:\Includes\include\fly.inc(60) : warning 219: local variable "y" shadows a variable at a preceding level
- D:\Includes\include\fly.inc(60) : warning 219: local variable "z" shadows a variable at a preceding level
- D:\Includes\include\fly.inc(108) : warning 219: local variable "x" shadows a variable at a preceding level
- D:\Includes\include\fly.inc(108) : warning 219: local variable "y" shadows a variable at a preceding level
- D:\Includes\include\fly.inc(108) : warning 219: local variable "z" shadows a variable at a preceding level
- D:\Includes\include\md5.inc(316) : warning 219: local variable "index" shadows a variable at a preceding level
- D:\newsman + roll ( jumate\gamemodes\wa-rpg.pwn(1846) : warning 219: local variable "x" shadows a variable at a preceding level
- D:\Includes\include\systems.inc(398) : error 017: undefined symbol "GetPlayerCash"
- D:\Includes\include\systems.inc(3907) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3908) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3909) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3910) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3911) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3914) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3915) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3916) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3917) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3918) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3921) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3922) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3923) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3924) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3925) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3926) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3927) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3928) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3929) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3930) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3931) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3932) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3933) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3934) : error 017: undefined symbol "CreateVehicleEx"
- D:\Includes\include\systems.inc(3935) : error 017: undefined symbol "CreateVehicleEx"
- Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
- 26 Errors.
- [Finished in 67.5s]
- Codul creat de mine:
- CMD:sellgun(playerid, params[]) {
- if(PlayerInfo[playerid][pJob] != 5) return SendClientMessage(playerid,-1,"Nu ai jobul 'Distribuitor de arme'");
- new id,string[128];
- if(sscanf(params, "us[10]d",id)) {
- SendClientMessage(playerid, COLOR_GREY, "USAGE: {FFFFFF}/sellgun <playerid/name>");
- if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_GREY, "Acel player nu este conectat.");
- if(PlayerInfo[playerid][pJailTime] != 0) return SendClientMessage(playerid, COLOR_GREY, "Nu poti vinde lucruri atata timp cat esti in jail!");
- if(IsPlayerInAnyVehicle(id)) return SendClientMessage(playerid, COLOR_GREY, "Nu poti folosi aceasta comanda atata timp cat acel player este intr-un vehicul.");
- if(PlayerToPoint(300.0, playerid, -1423.5153,935.8321,1036.4756)) return SCM(playerid, -1, "Nu poti folosi aceasta comanda in arena de evente.");
- ShowPlayerDialog(playerid, DIALOG_SELLGUN, DIALOG_STYLE_TABLIST_HEADERS, "Sell Gun",
- "Gun\tMaterials\tMoney\tAmmo \n\
- Desert Eagle\t100\t150\t100\n\
- M4A1\t200\t250\t500\n\
- Combat Shoutgun\t500\t1000\t25\n\
- Rifle\t300\t600\t10"
- "Select", "Cancel");
- return 1;
- }
- case DIALOG_SELLGUN:{
- if(!response) return 1;
- if(response) return 1;
- new targetid = id;
- switch(listitem): {
- case 0: {
- if(PlayerInfo[playerid][pMats] < 100) return SendClientMessage(playerid,COLOR_GREY, "Nu ai destule materiale pentru aceasta arma.");
- GivePlayerWeapon(targetid, 24, 150);
- PlayerInfo[targetid][pMats] -= 100;
- PlayerInfo[targetid][pMoney] -= 150;
- }
- case 1: {
- if(PlayerInfo[playerid][pMats] < 200) return SendClientMessage(playerid,COLOR_GREY, "Nu ai destule materiale pentru aceasta arma.");
- GivePlayerWeapon(targetid, 31, 150);
- PlayerInfo[targetid][pMats] -= 200;
- PlayerInfo[targetid][pMoney] -= 250;
- }
- case 2: {
- if(PlayerInfo[playerid][pMats] < 200) return SendClientMessage(playerid,COLOR_GREY, "Nu ai destule materiale pentru aceasta arma.");
- GivePlayerWeapon(targetid, 27, 25);
- PlayerInfo[targetid][pMats] -= 500;
- PlayerInfo[targetid][pMoney] -= 1000;
- }
- case 3: {
- if(PlayerInfo[playerid][pMats] < 200) return SendClientMessage(playerid,COLOR_GREY, "Nu ai destule materiale pentru aceasta arma.");
- GivePlayerWeapon(targetid, 33, 10);
- PlayerInfo[targetid][pMats] -= 300;
- PlayerInfo[targetid][pMoney] -= 600;
- }
- }
- GetWeaponNameEx(weapon[playerid],gunname,sizeof(gunname));
- format(string, sizeof(string), "* I-ai oferit lui %s %s.",GetName(id),gunname);
- SendClientMessage(playerid, COLOR_MONEY, string);
- format(string, sizeof(string), "* %s ti-a oferit %s, (scrie /accept gun %d) pentru a accepta.",GetName(playerid),gunname,playerid);
- SendClientMessage(id, COLOR_MONEY, string);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement