Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <a_npc>
- new Random;
- public OnGameModeInit()
- {
- // NPCS
- // veliki klubovi
- ConnectNPC("Jyla","striper1");
- ConnectNPC("Elena","striper2");
- ConnectNPC("Nina","striper3");
- ConnectNPC("Lisa","barwoman");
- ConnectNPC("Jef","bodyguard1");
- // mali klubovi
- ConnectNPC("Ioana","striper4");
- ConnectNPC("Nikol","striper5");
- ConnectNPC("Nick","barman");
- ConnectNPC("Josh","bodyguard2");
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- if(!IsPlayerNPC(playerid)) return 0;
- new playername[64];
- GetPlayerName(playerid,playername,64);
- if (!strcmp(playername, "Jyla", true))
- {
- SetPlayerSkin(playerid, 90);
- PutPlayerInVehicle(playerid, Random, 0);
- return 1;
- }
- else if (!strcmp(playername, "Elena", true))
- {
- PutPlayerInVehicle(playerid, Random, 0);
- SetPlayerSkin(playerid, 152);
- return 1;
- }
- else if (!strcmp(playername, "Jef", true))
- {
- PutPlayerInVehicle(playerid, Random, 0);
- SetPlayerSkin(playerid, 163);
- return 1;
- }
- else if (!strcmp(playername, "Ioana", true))
- {
- PutPlayerInVehicle(playerid, Random, 0);
- SetPlayerSkin(playerid, 152);
- return 1;
- }
- else if (!strcmp(playername, "Nikol", true))
- {
- PutPlayerInVehicle(playerid, Random, 0);
- SetPlayerSkin(playerid, 90);
- return 1;
- }
- else if (!strcmp(playername, "Nick", true))
- {
- PutPlayerInVehicle(playerid, Random, 0);
- SetPlayerSkin(playerid, 29);
- return 1;
- }
- else if (!strcmp(playername, "Josh", true))
- {
- PutPlayerInVehicle(playerid, Random, 0);
- SetPlayerSkin(playerid, 165);
- return 1;
- }
- else if (!strcmp(playername, "Lisa", true))
- {
- PutPlayerInVehicle(playerid, Random, 0);
- SetPlayerSkin(playerid, 192);
- return 1;
- }
- else if (!strcmp(playername, "Nina", true))
- {
- PutPlayerInVehicle(playerid, Random, 0);
- SetPlayerSkin(playerid, 237);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement