22.11.2009, 11:54
Hey my teleports work just fine, no problemo, but when i teleport a car, it works but displays Server:Unknown Command
HELP!!:
i will show 2 of them cose they are all made the same way
if(!strcmp("/ls", cmdtext, true))
{
if(IsPlayerInAnyVehicle(playerid))
{
new vehicleid = GetPlayerVehicleID(playerid);
SetVehiclePos(vehicleid,1865.0466,-1378.7865,13.4924);
}
else
{
SetPlayerPos(playerid,1865.0466,-1378.7865,13.4924);
return 1;
}
}
if(!strcmp("/veh", cmdtext, true))
{
if(IsPlayerInAnyVehicle(playerid))
{
new vehicleid = GetPlayerVehicleID(playerid);
SetVehiclePos(vehicleid,2250.7124,-767.6726,128.6140);
}
else
{
SetPlayerPos(playerid,2250.7124,-767.6726,128.6140);
return 1;
}
And is there a way to change the server unknown command for another message? thanks
HELP!!:
i will show 2 of them cose they are all made the same way
if(!strcmp("/ls", cmdtext, true))
{
if(IsPlayerInAnyVehicle(playerid))
{
new vehicleid = GetPlayerVehicleID(playerid);
SetVehiclePos(vehicleid,1865.0466,-1378.7865,13.4924);
}
else
{
SetPlayerPos(playerid,1865.0466,-1378.7865,13.4924);
return 1;
}
}
if(!strcmp("/veh", cmdtext, true))
{
if(IsPlayerInAnyVehicle(playerid))
{
new vehicleid = GetPlayerVehicleID(playerid);
SetVehiclePos(vehicleid,2250.7124,-767.6726,128.6140);
}
else
{
SetPlayerPos(playerid,2250.7124,-767.6726,128.6140);
return 1;
}
And is there a way to change the server unknown command for another message? thanks
