When I make a PEDs, where should I set them? It's not even in "OnGameModeInit" or if I'm making a filterscript "OnFilterScriptInit" so where should I save it?
Use /save in the game whilst NOT in a vehicle, with the pedestrian skin and where you want the pedestrian to spawn, and then simply copy and paste it under OnGameModeInit / OnFilterScriptInit, it would look something like this:
Then, when you enter in the game it will automatically call OnPlayerRequestClass and that's where all these pedestrian skins will be shown.
AddPlayerClass(29,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10 000); //
but when I connect to the server, it requests if I want to join ID 29 skin with that x y z positions.
pawn Код:
public OnGameModeInit()
{
AddPlayerClass(29,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(45,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(107,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(115,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(116,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(143,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(155,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(167,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(189,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(292,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(299,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
UsePlayerPedAnims();
// Don't use these lines if it's a filterscript
SetGameModeText("ReaLife Gaming");
AddPlayerClass(29,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(45,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(107,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(115,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(116,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(143,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(155,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(167,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(189,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(292,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
AddPlayerClass(299,2071.3618,-1874.5078,13.5469,269.9882,24,10000,26,10000,31,10000); //
return 1;
}
Actually, I want a skin(i'll chose any, example ID 45) stands in-front of the some door and do like a /deal anim, like a protector, how?
How do I make a ped like that "it stands in-front of the some door and do like a /deal anim, like a protector"