12.02.2010, 14:06
Stop bumping.
Filterscript:
NPCMode:
If that doesn't work then make sure the .rec files are in \yoursampserver\npcmodes\recordings\.
If it still doesn't work then re-download samp server.
Have you tried using the NPC's without GF to see if they work?
Filterscript:
pawn Код:
public OnGameModeInit()
{
ConnectNPC("NPCNAME","RECORDINGNAME");
return 1;
}
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid)) return 1;
new playername[64];
GetPlayerName(playerid,playername,64);
if(!strcmp(playername,"NPCNAME",true)) {
SetSpawnInfo( playerid, 0, 12, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
PutPlayerInVehicle(playerid, VEHICLENAME, 0);
}
return 1;
}
pawn Код:
#define RECORDING "NPCNAME"
#define RECORDING_TYPE 1 // 2 for on foot 1 for in a vehicle
#include <a_npc>
main(){}
public OnNPCSpawn() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
If it still doesn't work then re-download samp server.
Have you tried using the NPC's without GF to see if they work?