Why Will This Teleport Not Work? (maybe paste the correct here)
#1

I need a teleport setup in this format:

Код:
// Command: /dive3
	if(strcmp(cmdtext, "/dive3", true)==0)
	{
 	new vehicleid = GetPlayerVehicleID(playerid);
 	new State = GetPlayerState(playerid);
 	if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
 	{
  return SetVehiclePos(vehicleid,2064.3633,2442.2717,165.6172),
  GameTextForPlayer(playerid, "~w~Dive Jump ~G~3", 5000, 5);
 	}
 	SetPlayerPos(playerid,2064.3633,2442.2717,165.6172);
 	GameTextForPlayer(playerid, "~w~Dive Jump ~G~3", 5000, 5);
	return 1;
}

but the tele I need to add is in this format


Код:
if (!strcmp("/skroad", cmdtext, true))
	{
	 	SetPlayerPosWithVehicle(playerid, 3893.8152, -1623.4252, 1442.5, 360, cmdtext);
		return 1;
when I paste the location on the top one I get

[
Код:
sub]C:\PROGRA~1\SA-MPS~1\FILTER~1\xObjectz.pwn(489) : error 017: undefined symbol "SetPlayerPosWithVehicle"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
is SetPlayerPosWithVheicle in a include? on the other file I got this tele from is (INC):

Код:
#include <a_samp>
#include <dini>
#include <dudb>

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)