13.01.2015, 07:29
Hi all
I Try Many ways But Again i get these errors
line 14074 other errors are like this line
whole script:
Plz Help For +rep
I Try Many ways But Again i get these errors
Код:
D:\Game Mods\GalaXy Gaming\gamemodes\GG.pwn(14074) : error 006: must be assigned to an array D:\Game Mods\GalaXy Gaming\gamemodes\GG.pwn(14076) : warning 202: number of arguments does not match definition D:\Game Mods\GalaXy Gaming\gamemodes\GG.pwn(14086) : error 006: must be assigned to an array D:\Game Mods\GalaXy Gaming\gamemodes\GG.pwn(14088) : warning 202: number of arguments does not match definition D:\Game Mods\GalaXy Gaming\gamemodes\GG.pwn(14098) : error 006: must be assigned to an array D:\Game Mods\GalaXy Gaming\gamemodes\GG.pwn(14100) : warning 202: number of arguments does not match definition D:\Game Mods\GalaXy Gaming\gamemodes\GG.pwn(48945) : warning 203: symbol is never used: "playerid" Pawn compiler 3.2.3664
Код:
PlayerInfo[playerid][pVehPlate] = params;
Код:
CMD:plateregister(playerid, params[]) { new vslot[32],string[128]; if(PlayerInfo[playerid][pLevel] < 7) return SendClientMessage(playerid, COLOR_GREY, "You are not a level 7 player "); if(!IsPlayerInRangeOfPoint(playerid, 3, 366.4916,158.6417,1008.3828)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near Vehicle Registration Place."); if(sscanf(params,"s[32]",vslot)) { SendClientMessage(playerid, COLOR_ALIREZA, "USAGE: /vehicleregister [VehSlot]"); SendClientMessage(playerid, COLOR_ALIREZA, "Vehicle Slots: one(for all players) two(vip) three(bvip) "); } if(!strcmp(vslot, "one", true,3)) { if(sscanf(params, "s[32]s[32]", vslot, params)) return SendClientMessage(playerid, COLOR_ALIREZA, "USAGE: /vehicleregister one [PlateText]"); new Float:carpos_x,Float:carpos_y,Float:carpos_z; SetVehicleNumberPlate(PlayerInfo[playerid][pVeh], params); GetVehiclePos(PlayerInfo[playerid][pVeh],carpos_x,carpos_y,carpos_z); SetVehicleToRespawn(PlayerInfo[playerid][pVeh]); SetVehiclePos(PlayerInfo[playerid][pVeh],carpos_x,carpos_y,carpos_z); PlayerInfo[playerid][pVehPlate] = params; format(string, sizeof(string), "* changed plate to %s(slot 1).", params); SendClientMessage(playerid, COLOR_GREY); } if(!strcmp(vslot, "two", true,3)) { if(sscanf(params, "s[32]s[32]", vslot, params)) return SendClientMessage(playerid, COLOR_ALIREZA, "USAGE: /vehicleregister two [PlateText]"); new Float:carpos_x,Float:carpos_y,Float:carpos_z; SetVehicleNumberPlate(PlayerInfo[playerid][pVVeh], params); GetVehiclePos(PlayerInfo[playerid][pVVeh],carpos_x,carpos_y,carpos_z); SetVehicleToRespawn(PlayerInfo[playerid][pVVeh]); SetVehiclePos(PlayerInfo[playerid][pVVeh],carpos_x,carpos_y,carpos_z); PlayerInfo[playerid][pVVehPlate] = params; format(string, sizeof(string), "* changed plate to %s(slot 2).", params); SendClientMessage(playerid, COLOR_GREY); } if(!strcmp(vslot, "three", true,4)) { if(sscanf(params, "s[32]s[32]", vslot, params)) return SendClientMessage(playerid, COLOR_ALIREZA, "USAGE: /vehicleregister three [PlateText]"); new Float:carpos_x,Float:carpos_y,Float:carpos_z; SetVehicleNumberPlate(PlayerInfo[playerid][pBVeh], params); GetVehiclePos(PlayerInfo[playerid][pBVeh],carpos_x,carpos_y,carpos_z); SetVehicleToRespawn(PlayerInfo[playerid][pBVeh]); SetVehiclePos(PlayerInfo[playerid][pBVeh],carpos_x,carpos_y,carpos_z); PlayerInfo[playerid][pBVehPlate] = params; format(string, sizeof(string), "* changed plate to %s (Slot 3).", params); SendClientMessage(playerid, COLOR_GREY); } return 1; }