Problem SendBulletData
#1

Hi guys, I have a question. What is failing in this code? it gives me an error...

i dont know use SendBulletData, could someone teach me to use the code??

PHP код:
new rp;
public 
OnGameModeInit()
{
    
rp CreateRNPCPolice ("Officerino"2);
    
AddRPOLWaypoint (rp2029.421354.3410.5);
    
AddRPOLWaypoint (rp2033.551286.2110.5);
    
AddRPOLWaypoint (rp2079.031286.0010.5);
    
AddRPOLWaypoint (rp2079.021362.0810.5);
return 
1;
}
public 
OnPlayerWeaponShot(playeridweaponidhittypehitidFloat:fXFloat:fYFloat:fZ)
{
    new 
Float:nxFloat:nyFloat:nz;
    
GetPlayerPos(rpnxnynz);
    new 
Float:txFloat:tyFloat:tz;
    
GetPlayerPos(playeridtxtytz);
    
SendBulletData(rpplayeridBULLET_HIT_TYPE_PLAYER22nxnynztxtytz0.10.10.10.1);
return 
1;

PHP код:
C:\Users\1320703\Desktop\GTA3\server2\gamemodes\gamemode.pwn(54) : warning 213tag mismatch
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
1 Warning

Reply


Messages In This Thread
Problem SendBulletData - by bookknp - 24.07.2018, 10:36
Re: Problem SendBulletData - by RogueDrifter - 24.07.2018, 10:45
Re: Problem SendBulletData - by bookknp - 24.07.2018, 10:48
Re: Problem SendBulletData - by jlalt - 24.07.2018, 11:25
Re: Problem SendBulletData - by bookknp - 24.07.2018, 11:30
Re: Problem SendBulletData - by FinStar - 24.07.2018, 12:10
Re: Problem SendBulletData - by bookknp - 24.07.2018, 15:45
Re: Problem SendBulletData - by RogueDrifter - 24.07.2018, 16:09
Re: Problem SendBulletData - by bookknp - 24.07.2018, 16:29
Re: Problem SendBulletData - by RogueDrifter - 24.07.2018, 16:33

Forum Jump:


Users browsing this thread: 2 Guest(s)