CMD:gotocar
#3

PHP код:
CMD:gotocar(playeridparams[])
{
    new 
v;
    if (
sscanf(params"d"v)) return  SendClientMessage(playerid, -1"CMD: /gotocar [CarID]");
    new 
string[64];
    new 
Float:XFloat:YFloat:Z;
    
GetVehiclePos(vXYZ);
    
SetPlayerPos(playeridX+1YZ)
    
format(stringsizeof(string), "You teleported to vehicle %d!"vehid);
    
SendClientMessage(playerid, -1string);

Reply


Messages In This Thread
CMD:gotocar - by UnknownGamer - 11.01.2013, 11:32
Re: CMD:gotocar - by DiGiTaL_AnGeL - 11.01.2013, 11:40
Re : CMD:gotocar - by yusei - 11.01.2013, 11:43
Re: CMD:gotocar - by RedCrossER - 11.01.2013, 12:01
Re: CMD:gotocar - by venomlivno8 - 11.01.2013, 12:33

Forum Jump:


Users browsing this thread: 1 Guest(s)