Help with (/givecar) command
#1

Hello guys,

Okay i go this:

Код:
CMD:givecar(playerid,params[])
{
    new carid;
    new id;
    new Float:X, Float:Y, Float:Z, Float:angle;
    if(sscanf(params,"du",carid, id)) return SendClientMessage(playerid,-1,"Error: - /givecar [car id] [player id]");
    GetPlayerPos(id, X, Y, Z);
    GetPlayerFacingAngle(id, angle);
    CreateVehicle(carid, X, Y, Z, angle, 0, 1, 60);
    PutPlayerInVehicle(id, carid, 0);
    return 1;
}
But,It does not saving the vehicles (I need something like "personal/private" hope you understand what i mean)

Also,is there anyway to script a command like "/savetunedshit" or something,which will be able to save the tunned data?Or at least,something OnPlayerDisconnect,where it will save the tunned data?

Thank you for reading my thread,and i would appreciate every reply!

Best Regards,
George

((PS: I will not add "+++ REP on my title,because i thinks thats only childish bullshit,furthermore,i will add reputation to every answer even it works or not!))

Reply


Messages In This Thread
Help with (/givecar) command - by geohareas - 29.12.2012, 11:43
Re: Help with (/givecar) command - by JaKe Elite - 29.12.2012, 11:46
Re: Help with (/givecar) command - by geohareas - 29.12.2012, 13:20
Re: Help with (/givecar) command - by FTLOG - 29.12.2012, 14:28

Forum Jump:


Users browsing this thread: 1 Guest(s)