02.11.2017, 10:26
The errors:
C:\Users\Lenovo\Downloads\SA-MP1\gamemodes\SanJoseRolePlay.pwn(22435) : error 001: expected token: "*then", but found ")"
C:\Users\Lenovo\Downloads\SA-MP1\gamemodes\SanJoseRolePlay.pwn(22435) : error 029: invalid expression, assumed zero
and there is the code:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
new szString[144];
if weaponid = 23);
ApplyPlayerAnimation(playerid, "COLT45", "COLT45_RELOAD", 4.0, 0, 0, 0, 0, 0, 1);
return 1;
}
i want a system when a player shoots the tazer, play a reload animation
C:\Users\Lenovo\Downloads\SA-MP1\gamemodes\SanJoseRolePlay.pwn(22435) : error 001: expected token: "*then", but found ")"
C:\Users\Lenovo\Downloads\SA-MP1\gamemodes\SanJoseRolePlay.pwn(22435) : error 029: invalid expression, assumed zero
and there is the code:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
new szString[144];
if weaponid = 23);
ApplyPlayerAnimation(playerid, "COLT45", "COLT45_RELOAD", 4.0, 0, 0, 0, 0, 0, 1);
return 1;
}
i want a system when a player shoots the tazer, play a reload animation