30.05.2009, 05:39
Код:
public OnPlayerSelectedMenuRow(playerid, row) { new Menu:current; current = GetPlayerMenu(playerid); if(current == Vehicles) { switch(row) { case 0:{ new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X,Y,Z); CreateVehicle(522,X,Y,Z,0,-1, -1); SendClientMessage(playerid, COLOR_RED, "Vehicle Spawned"); } case 1:{ new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X,Y,Z); CreateVehicle(461,X,Y,Z,0,-1, -1); SendClientMessage(playerid, COLOR_RED, "Vehicle Spawned"); } case 2:{ new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X,Y,Z); CreateVehicle(451,X,Y,Z,0,-1, -1); SendClientMessage(playerid, COLOR_RED, "Vehicle Spawned"); } case 3:{ new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X,Y,Z); CreateVehicle(415,X,Y,Z,0,-1, -1); SendClientMessage(playerid, COLOR_RED, "Vehicle Spawned"); } case 4:{ new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X,Y,Z); CreateVehicle(411,X,Y,Z,0,-1, -1); SendClientMessage(playerid, COLOR_RED, "Vehicle Spawned"); } case 5:{ new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X,Y,Z); CreateVehicle(480,X,Y,Z,0,-1, -1); SendClientMessage(playerid, COLOR_RED, "Vehicle Spawned"); } case 6:{ new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X,Y,Z); CreateVehicle(506,X,Y,Z,0,-1, -1); SendClientMessage(playerid, COLOR_RED, "Vehicle Spawned"); } case 7:{ new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X,Y,Z); CreateVehicle(471,X,Y,Z,0,-1, -1); SendClientMessage(playerid, COLOR_RED, "Vehicle Spawned"); } } } return 1; }
Код:
C:\Users\Madhouse\Desktop\Server\gamemodes\jumbo.pwn(905) : warning 202: number of arguments does not match definition C:\Users\Madhouse\Desktop\Server\gamemodes\jumbo.pwn(911) : warning 202: number of arguments does not match definition C:\Users\Madhouse\Desktop\Server\gamemodes\jumbo.pwn(917) : warning 202: number of arguments does not match definition C:\Users\Madhouse\Desktop\Server\gamemodes\jumbo.pwn(923) : warning 202: number of arguments does not match definition C:\Users\Madhouse\Desktop\Server\gamemodes\jumbo.pwn(929) : warning 202: number of arguments does not match definition C:\Users\Madhouse\Desktop\Server\gamemodes\jumbo.pwn(935) : warning 202: number of arguments does not match definition C:\Users\Madhouse\Desktop\Server\gamemodes\jumbo.pwn(941) : warning 202: number of arguments does not match definition C:\Users\Madhouse\Desktop\Server\gamemodes\jumbo.pwn(947) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 8 Warnings.
Before you reply. NO. I do NOT, want to use somebody else's FS.