hi help server
#1

i off server my pickup disapear how to save it float or load any things help
Reply
#2

What?
Reply
#3

my pickup disapear i off server how to no disapear
Reply
#4

sorry but your english is terrible, we cant understand you...
Reply
#5

i have fs pickup i create it esey only i close server.exe
my pickup destory disapear not in server i make it again how to defince it to i create pickup save any pickup i create it in server and load it
Reply
#6

depends if you want like a cmd you use in there then just
Код:
pickup = CreatePickup(1242(Pickup ID), 2, 1503.3359(XCoord), 1432.3585(YCoord), 10.1191(ZCoord), 0(Virtualworld));
Change the Coords to what you want.
also virtualworld is usually 0.

Create this in your Gamemode so it will be always saved and it one place.
Reply
#7

see here its fs how to add it here



Quote:

#define MAX_BRIBES 1
#include <a_samp>
#include <zcmd>
new BribeTimer[MAX_PLAYERS];
new Bribe[MAX_BRIBES];
CMD:createbribe(playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,
-1, "You are not a RCON admin.");
new Float[3];
GetPlayerPos(playerid, p[0], p[1], p[2]);
for(new i = 0; i < MAX_BRIBES; i++)
{
Bribe[i] = CreatePickup(1247, 1, p[0], p[1], p[2],
GetPlayerVirtualWorld(playerid));
}
SendClientMessage(playerid, -1, "You created a Bribe at your
Location.");
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
for(new i = 0; i < MAX_BRIBES; i++)
{
if(pickupid == Bribe[i])
{
new Wanted = GetPlayerWantedLevel(playerid);
if(Wanted == 0) return SendClientMessage(playerid, -1, "You
dont need a Bribe right now.");
if(BribeTimer[playerid] == 1) return SendClientMessage
(playerid, -1, "You cant do this right now.");
SetPlayerWantedLevel(playerid, Wanted - 1);
BribeTimer[playerid] = 1;
SetTimerEx("BribeDecrease", false, 300000, "i", playerid);
}
}
return 1;
}
forward BribeDecrease(playerid);
public BribeDecrease(playerid)
{
BribeTimer[playerid] = 0;
return 1;
}

Reply
#8

how to defince pickup i create here in this fs
Reply
#9

Man, learn english we cant help you if we cant understand you
Reply
#10

see photo to know

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)