AttachObject [HELP]
#1

Hello there, does anyone know how could i set attach object to player if it's holding 10k? I want to add briefcase to player if it's holding 10k or more, so i was searching how to do it, but it didn't help.

This is my script code, please don't judge me, i am noob and btw, it's ZCMD
Quote:

stock Briefcase(objectid, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:rX, Float:rY, Float:rZ)
{
if(PlayerLogged[playerid] == 0) return 1;
if(GetMoney(playerid) < 10000);
SetPlayerHoldingObject(playerid, 1210, 5, 0, 0, 0)
if(GetMoney(playerid) > 10000);
StopPlayerHoldingObject(playerid)
return 1;
}

Reply


Messages In This Thread
AttachObject [HELP] - by LazyGamer99 - 18.03.2014, 15:54
Re: AttachObject [HELP] - by LazyGamer99 - 18.03.2014, 17:02
Re: AttachObject [HELP] - by Matess - 18.03.2014, 20:30
Re: AttachObject [HELP] - by MP2 - 18.03.2014, 20:44
Re: AttachObject [HELP] - by LazyGamer99 - 19.03.2014, 11:31

Forum Jump:


Users browsing this thread: 1 Guest(s)