08.09.2013, 16:55
Quote:
Use the SetVehiclePos function. Then use the SetPlayerPos function. Then use the PutPlayerInVehicle function
|
Код:
COMMAND:lv(playerid, params[]) { SetVehiclePos(vehicleid, 2005.7919,1544.5870,13.5042) SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, 2005.7919,1544.5870,13.5042); PutPlayerInVehicle(playerid, vehicleid, 0); SendClientMessage(playerid, COLOR_YELLOW, "You have teleported to: Las Venturas"); return 1; }
error 017: undefined symbol "vehicleid"
error 017: undefined symbol "vehicleid"
How do I make it so I can use vehicleid inside of the command?