Jump to content
  • 0

pomoc Jak udelam /save?


Guest FuCkeR

Dotaz

8 odpovědí na tuto otázku

Recommended Posts

  • 0
Patrik88":24f94ggc]OMG!

1.Blbej název npř.: [HELP] /SAVE

2.Třeba popis co máš přesně na mysli save lvl nebo čeho??

savepositions.txt nebo neco tak podbny nwm najist v rocktar games tak to mam kde?

Proste ako zistim suradnice x,y,z

Link to comment
Share on other sites

  • 0

V hre si das hocikde /save pojdes do slozky GTA San Andreas a tam budes mat saveposition.txt

AddPlayerClass(29,413.4668,2536.8145,19.1484,102.1480,0,0,0,0,0,0); //

413.4668,2536.8145,19.1484

*Tich 6 to su X, Y, Z

Link to comment
Share on other sites

  • 0

/* By Speedy™ */
#include 
public OnFilterScriptInit()
{
}
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
dcmd_sp(playerid,params[]){
   #pragma unused params
       new string[64],File:logac,Float:x, Float:y, Float:z; GetPlayerPos(playerid,x,y,z);
 		format(string,sizeof(string), "Pozicia: %0.1f %0.1f %0.1f || Interier: %d\r\n",Float:x,Float:y,Float:z,GetPlayerInterior(playerid));
	logac = fopen("Ulozene_Pozicie.txt", io_append); fwrite(logac, string); fclose(logac);
	return SendClientMessage(playerid,0xFFFFFFFF, "Pozícia uložená");
}
public OnPlayerCommandText(playerid, cmdtext[])
{
dcmd(sp,2,cmdtext);
return SendClientMessage(playerid,0xFFFFFFFF,"SERVER: Unkow kkt!");
}

ENJOY

Je to robene ako FS.

Link to comment
Share on other sites

  • 0

Mylím že všechno ví, ale nepíše mu to na /save žádnou zprávu, ani Undefined Command. Pokud jsi měl toto na mysli, tak nový SA-MP 0.3a tento příkaz obsahuje stejně jako 0.2X, ale tentokrát autoři odstranili zprávu Vehicle/Class position saved.

:boss:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...