18.07.2018, 22:01
hello guys, i have a problem, when i try to spawn an RNPC using CreateRNPCPolice not spawn and dont know the why?. Im using 0.3.7 r2 Samp dont know if RNPC is compatible?? thx for help me...
PHP код:
#include <a_samp>
#include <RNPC>
#include <ZCMD>
#pragma tabsize 0
public OnGameModeInit()
{
new rp = CreateRNPCPolice ("Officerino", 280);
AddRPOLWaypoint (rp, 2029.42, 1354.34, 10.5);
AddRPOLWaypoint (rp, 2033.55, 1286.21, 10.5);
AddRPOLWaypoint (rp, 2079.03, 1286.00, 10.5);
AddRPOLWaypoint (rp, 2079.02, 1362.08, 10.5);
StartRPOLRoute(rp);
return 1;
}
PHP код:
C:\Users\1320703\Desktop\GTA3\server2\pawno\include\RNPC2.inc(222) : warning 209: function "RNPC_OnPlayerSpawn" should return a value
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.

