06.04.2009, 19:48
I need a teleport setup in this format:
}
but the tele I need to add is in this format
when I paste the location on the top one I get
[
is SetPlayerPosWithVheicle in a include? on the other file I got this tele from is (INC):
Код:
// 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;
[
Код:
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.
Код:
#include <a_samp> #include <dini> #include <dudb>

