07.04.2012, 13:32
Hey Guys Today i was making a vip cmd to attach object i done it without errors but when i use the cmd the object dont attach , here is the code :
Plz I Need Help . Thx In Advance
pawn Код:
if(strcmp(cmd, "/vobj", true) == 0)
{
new Float:x, Float:y, Float:z, Float:ang;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,ang);
if(IsPlayerVipMember(playerid))
{
AttachObjectToPlayer(18856,playerid,x, y, z, x, y, z);
}
else SendClientMessage(playerid, LIGHTBLUE,"StuntProz Bot: You Arent A Vip To Use This Cmd");
return 1;
}