02.05.2010, 13:02
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:
It's the Superjump From XRVX
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;
}