#1

Hello, I need to learn how to save and load stuff, For example :
I have a radio system, But i want to save the radio name/radio url and call it when the player enter the vehicle(If He did /radio before) and stop/save it again when he leave the vehicle
Shall i use enum to save name/url or what, I made a script but i can't make it work because i don't know what to use exactly.
Thanks in advance
Reply
#2

Also, What's the right way to do This
Код:
#pragma tabsize 0

UsingAttachment(playerid,index [],modelid[],bone[],fOffsetX,fOffsetY,fOffsetZ,fRotX,fRotY,fRotZ,fScaleX,fScaleY,fScaleZ,materialcolor1,materialcolor2)
{
	SetPlayerAttachedObject(playerid, index, modelid, bone, fOffsetX = 0.0, fOffsetY = 0.0, fOffsetZ = 0.0, fRotX = 0.0, fRotY = 0.0, fRotZ = 0.0, fScaleX = 1.0, fScaleY = 1.0, fScaleZ = 1.0, materialcolor1 = 0, materialcolor2 = 0);
	gPlayerUsingAttachment[playerid] = 1;
}
Reply
#3

Up :\
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)