/findcar not working
#1

I'm useing a edited version of the German life car dealership thingy and im trying to make a /trackcar
this is what i have so far
Код:
	else if (strcmp("/findcar", cmd, true, 10) == 0)
	{
	SendClientMessage(playerid, COLOR_YELLOW,"Lost Cars: Looks like you lost your car, folow the check point on your GPS");
    SetPlayerCheckpoint(playerid,Carlist[playerid][Carid],Carlist[playerid][X],Carlist[playerid][Y],Carlist[playerid][Z]);, 5.0);
    return 1;
    }
but when i test it IG the check point gose all crazy and its in a random place on the map what did i do wrong? :/
Reply
#2

pawn Код:
SetPlayerCheckpoint(playerid,  Carlist[playerid][X], Carlist[playerid][Y], Carlist[playerid][Z], 5.0);
SetPlayerCheckpoint(playerid, Float, Float:y, Float:z, Floatize);
Reply
#3

Thanks man it works!
Reply
#4

How about a /respawn car command for players to respawn sold cars and what not?
Reply
#5

Don't Double Post, It's not allowed, Read the Rules.....
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)