[Help]I want to create a /save command
#1

i want to create a my own save command for car-that will save my the Modelid[or vehicleid..there is any different?] , X,Y ,Z,Angle
Thats all
thanks
Reply
#2

It is already made.

Regards, Adil.
Reply
#3

It's in SA:MP by default, however 0.3 doesn't respond with anything.
Reply
#4

Quote:
Originally Posted by Adil_Rahoo
It is already made.
He want's to create his own one.
Quote:
Originally Posted by GiP YossI
i want to create a my own save command for car-that will save my the Modelid[or vehicleid..there is any different?] , X,Y ,Z,Angle
Quote:
Originally Posted by GiP YossI
i want to create a my own save command for car-that will save my the Modelid[or vehicleid..there is any different?] , X,Y ,Z,Angle
Thats all
thanks
If you don't have an idea how to do it then ask in the script request topic.
Reply
#5

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/save", cmdtext, true, 6) == 0)
{
new Float, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
new string[256];
format(string, 256, "%f.%f.%f.", x, y, z);
SendClientMessageToAll(orange, string);
printf("Position saved at %f.%f.%f.", x, y, z);

return 1;
}
return 0;
}

theres a basic one, i actually coded this i didnt just rip it
Reply
#6

lol, i know that already that command is built in the SA:MP,i want to create another one that save the things that i want
and thanks "brett7 " i will check it

Can you make it that it will save it to me in some file?
Reply
#7

/save is already saved with SA-MP.

Why do you need it for
Reply
#8

because i want to short my way,because i'm saving a lot of cars, and i don't need the color and the "AddStaticVehicle"
i need only the vehicleid,X,Y,Z,Angle
Thats why i want to create my own /save command
Reply
#9

??
Quote:
Originally Posted by GiP YossI
because i want to short my way,because i'm saving a lot of cars, and i don't need the color and the "AddStaticVehicle"
i need only the vehicleid,X,Y,Z,Angle
Thats why i want to create my own /save command
Help?
Reply
#10

Quote:
Originally Posted by GiP YossI
??
Quote:
Originally Posted by GiP YossI
because i want to short my way,because i'm saving a lot of cars, and i don't need the color and the "AddStaticVehicle"
i need only the vehicleid,X,Y,Z,Angle
Thats why i want to create my own /save command
Help?
Thats impossible maybe? or else... I do not know how to do that
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)