08.12.2010, 15:32
Estou com um erro em uma parte do cуdigo de um menu com Tele.
Este й o cуdigo PWN.
Код:
public OnPlayerSelectdMenuRow(playerid, row) { new Menu:Teleportes2 = GetPlayerMenu(playerid); if(Teleportes2 == Teleportes) { switch(row) { case 0: { new var1 = 0; var1 = GetPlayerVehicleID(playerid); SetVehiclePos(var1,1729.9600 ,-1723.6658 , 13.5469); SetVehicleZAngle(var1, 0.0); SetPlayerInterior(playerid, 0); } case 1: { new var2 = 0; var2 = GetPlayerVehicleID(playerid); SetVehiclePos(var2,-1983.4058 ,128.9699 ,27.6875); SetVehicleZAngle(var2, 0.0); SetPlayerInterior(playerid, 0); } case 2: { new var3 = 0; var3 = GetPlayerVehicleID(playerid); SetVehiclePos(var3,2004.5786,1544.0999,27.6875); SetVehicleZAngle(var3, 0.0); SetPlayerInterior(playerid, 0); } } } return 1; }
Код:
C:\Users\Cliente\Documents\meus gms\dpsclandrift.pwn(606) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectdMenuRow") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.