Something is wrong with my script!!
#1

I have a Problem with my server or script.

When im in Pawno, i make a command (tele command) add the SetPlayerPos and stuff, Save then Complie, no errors, THEN when i add it in the server, i start up the server, join it. But when i type the Command, Nothing HappendS!!!!

Please Help!!

Tele command:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (!strcmp("/superjump",cmdtext,true))
{
    SetPlayerInterior(playerid,0);
    if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
        LinkVehicleToInterior(GetPlayerVehicleID(playerid),0);
        SetVehiclePos(GetPlayerVehicleID(playerid),1794.0,1828.0,668.0);
        SetVehicleZAngle(GetPlayerVehicleID(playerid),0.0);
    }
    else
    {
        SetPlayerPos(playerid,1794.0,1828.0,668.0);
        SetPlayerFacingAngle(playerid,0.0);
    }
    return 1;
}
return 0;
}
It's the Superjump From XRVX
Reply
#2

Show your teleport command
Reply
#3

i added it!

Please help!
Reply
#4

Quote:
Originally Posted by Chilliad
i added it!

Please help!
There's nothing wrong with that
maybe you forgot to #include <a_samp>
________
ROLLING A JOINT
Reply
#5

Quote:
Originally Posted by ViruZZzZ_ChiLLL
Quote:
Originally Posted by Chilliad
i added it!

Please help!
There's nothing wrong with that
maybe you forgot to #include <a_samp>
Nope #include <a_samp> it's there
Reply
#6

Are you sure you have the script loaded?
Reply
#7

Quote:
Originally Posted by Assyria
Are you sure you have the script loaded?
Yes.....why would i post this topic if i wasn't loaded?
Reply
#8

Quote:
Originally Posted by Chilliad
Quote:
Originally Posted by Assyria
Are you sure you have the script loaded?
Yes.....why would i post this topic if i wasn't loaded?
Dude, I'm really sure that when I compile that code it doesn't give me error
anyways try this

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
 if (!strcmp("/superjump",cmdtext,true))
 {
  SetPlayerPos(playerid,1794.0,1828.0,668.0);
  return 1;
 }
return 0;
}
________
Buy Easy Vape Vaporizer
Reply
#9

Quote:
Originally Posted by Chilliad
Quote:
Originally Posted by Assyria
Are you sure you have the script loaded?
Yes.....why would i post this topic if i wasn't loaded?
Do you have more commands in the script?
Reply
#10

Quote:
Originally Posted by Teddy?
Quote:
Originally Posted by Chilliad
Quote:
Originally Posted by Assyria
Are you sure you have the script loaded?
Yes.....why would i post this topic if i wasn't loaded?
Do you have more commands in the script?
Yes, because there is nothing wrong with XRVX' command
________
Dodge Copperhead Specifications
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)