What's the problem?
#1

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
Reply


Messages In This Thread
What's the problem? - by reddoxx - 02.11.2017, 10:26
Re: What's the problem? - by Lucases - 02.11.2017, 10:30
Re: What's the problem? - by Konstantinos - 02.11.2017, 10:30
Re: What's the problem? - by reddoxx - 02.11.2017, 10:39

Forum Jump:


Users browsing this thread: 1 Guest(s)