/Aduty Editing Help
#3

new,
AdminX[MAX_PLAYERS],
AdminY[MAX_PLAYERS],
AdminZ[MAX_PLAYERS];


When they go on-duty:
new Float: x, Float: y, Float: z;
GetPlayerPos(playerid, x, y, z);
AdminX[playerid] = x;
AdminY[playerid] = y;
AdminZ[playerid] = z;

When they go off-duty...
if(AdminX == 0.0000000) return 0;
SetPlayerPos(playerid, AdminX[playerid], AdminY[playerid], AdminZ[playerid]);
Reply


Messages In This Thread
/Aduty Editing Help - by ChuckyBabe - 08.03.2014, 00:46
Re: /Aduty Editing Help - by ChuckyBabe - 08.03.2014, 22:21
Re: /Aduty Editing Help - by Abagail - 08.03.2014, 22:27
Re: /Aduty Editing Help - by RenovanZ - 08.03.2014, 22:33
Re: /Aduty Editing Help - by ChuckyBabe - 09.03.2014, 01:32

Forum Jump:


Users browsing this thread: 1 Guest(s)