Problem Found
#1

I try to add this FS and i've alot of problems , whats wrong ?


Quote:

public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/bikes", true))
{
SetPlayerPos(playerid, 1535.4368,-886.3170,61.4799);
return 1;

if(strcmp(cmdtext, "/s", true) == 0)
}
SendClientMessage(playerid, COLOR_GREEN, "Your current position was saved! To teleport back here type /l!");
if(IsPlayerInAnyVehicle(playerid))
{
new VehicleID;
VehicleID = GetPlayerVehicleID(playerid);
GetVehiclePos(VehicleID, posx[playerid], posy[playerid], posz[playerid]);
GetVehicleZAngle(VehicleID, zangle[playerid]);
}
else
{
GetPlayerPos(playerid, posx[playerid], posy[playerid], posz[playerid]);
GetPlayerFacingAngle(playerid, zangle[playerid]);

Not The /bikes one, The /s one..



Thanks
Reply


Messages In This Thread
Problem Found - by Xpack - 22.01.2010, 15:52
Re: Problem Found - by (Jeff) - 22.01.2010, 15:53
Re: Problem Found - by Xpack - 22.01.2010, 15:54
Re: Problem Found - by KnooL - 22.01.2010, 16:06
Re: Problem Found - by Xpack - 22.01.2010, 16:11
Re: Problem Found - by KnooL - 22.01.2010, 16:19
Re: Problem Found - by Xpack - 22.01.2010, 16:25
Re: Problem Found - by KnooL - 22.01.2010, 16:36
Re: Problem Found - by Xpack - 22.01.2010, 16:40
Re: Problem Found - by KnooL - 22.01.2010, 16:42

Forum Jump:


Users browsing this thread: 1 Guest(s)