[Duda]Este warning... - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (
https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: [Duda]Este warning... (
/showthread.php?tid=567851)
[Duda]Este warning... -
Choidito - 17.03.2015
Hola,bueno estaba haciendo un trabajo ,pero cuando compilo me sale un error,la verdad no se tanto de esa funciуn que puse,por eso vengo a pedir ayuda.Gracias
pawn Код:
C:\Users\GJX\Desktop\Choidito\Mecanico.pwn(146) : warning 202: number of arguments does not match definition
Cуdigo:
PHP код:
new vehicleid = GetPlayerVehicleID(playerid);
if(!IsPlayerInVehicle(vehicleid)) return SendClientMessage(playerid, COLOR_WHITE, "Debes estar fuera del vehнculo para poder usar este comando"); //el new viene de paso para que pueda cumplir la funciуn
Gracias.
Respuesta: [Duda]Este warning... -
OTACON - 17.03.2015
te falto el parametro playerid en IsPlayerInVehicle .
saludos.
https://sampwiki.blast.hk/wiki/IsPlayerInVehicle
Re: Respuesta: [Duda]Este warning... -
Choidito - 18.03.2015
Quote:
Originally Posted by OTACON
|
Gracias