command not working
#10

Quote:
Originally Posted by ATGOggy
Посмотреть сообщение
Show where you created these labels, probably OnGamdeModeInit
Nope, I don't.

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Do you mean that it only destroys the first 3D label and not the rest? If so, post the code you create those 3D labels.
pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    new Float:pX, Float:pY, Float:pZ;
    GetPlayerPos(playerid, Float:pX, Float:pY, Float:pZ);
    CreateLabel(""COL_RED"["COL_WHITE"Weapon Shell"COL_RED"]", pX, pY, pZ, GetPlayerInterior(playerid), GetPlayerVirtualWorld(playerid), GetUsername(playerid));
    return 1;
}
pawn Код:
CreateLabel(LName[60], Float:LX, Float:LY, Float:LZ, LInt, LVW, LOwner[24])
{
    format(GlobalQuery, sizeof(GlobalQuery), "INSERT INTO `labels` (LabelName, LabelX, LabelY, LabelZ, LabelInt, LabelVW, LabelOwner) VALUES ('%s', %f, %f, %f, %d, %d, '%s')", LName, Float:LX, Float:LY, Float:LZ, LInt, LVW, LOwner);
    mysql_function_query(MySQLConnection, GlobalQuery, true, "LabelCreated", "");
    return true;
}
Reply


Messages In This Thread
command not working - by Jordiee - 12.04.2015, 13:17
Re: command not working - by ATGOggy - 12.04.2015, 13:23
Re: command not working - by Jordiee - 12.04.2015, 13:25
Re: command not working - by Konstantinos - 12.04.2015, 13:25
Re: command not working - by Jordiee - 12.04.2015, 13:28
Re: command not working - by ATGOggy - 12.04.2015, 13:28
Re: command not working - by Jordiee - 12.04.2015, 13:33
Re: command not working - by ATGOggy - 12.04.2015, 13:37
Re: command not working - by Konstantinos - 12.04.2015, 13:37
Re: command not working - by Jordiee - 12.04.2015, 14:23

Forum Jump:


Users browsing this thread: 3 Guest(s)