02.01.2011, 12:35
Why does the laser dont follow my scope?
can someone just correct it?
can someone just correct it?
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/addlaser", cmdtext, true, 10) == 0)
{
if(GetPlayerWeapon(playerid) == 34)
{
SetPlayerAttachedObject(playerid,3 , 18643, 6, 0.158249, 0.010233, 0.128052, 6.868255, 351.962524, 356.884216);
return 1;
} else return SendClientMessage(playerid, COLOR_GREEN, "You cannot add a laser to this weapon!");
}
return 0;
}