Advertisement
MacBack

World System 1.0

Nov 30th, 2015
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. Chcete si vytvořit VirtualWorld?
  2. Takhle tu máte návod
  3. public OnPlayerCommandText(playerid, cmdtext[])
  4. {
  5. if (strcmp("/world 15", cmdtext, true, 10) == 0)
  6. {
  7. SetPlayerVirtualWorld(playerid, 15);
  8. SendClientMessage(playerid, "Seš ve worldu 15 zpět /world 0);
  9.  
  10.  
  11. if (strcmp("/world 15", cmdtext, true, 10) == 0)
  12. {
  13. SetPlayerVirtualWorld(playerid, 0);
  14. SendClientMessage(playerid, "Vitej zpět na worldu 0);
  15.  
  16.  
  17. VirtualWorld se zbraněma?
  18.  
  19. if (strcmp("/world 10", cmdtext, true, 10) == 0)
  20. {
  21. SetPlayerVirtualWorld(playerid, 10);
  22. SendClientMessage(playerid, "Seš ve worldu 10 zpět /world 0);
  23. GivePlayerWeapon(playerid, 26, 1000);
  24.  
  25. Vráceni zpět?
  26.  
  27. if (strcmp("/world 0", cmdtext, true, 10) == 0)
  28. {
  29. SetPlayerVirtualWorld(playerid, 0);
  30. SendClientMessage(playerid, "Vitej zpět byli ti odebrani všechny zbraně);
  31. ResetPlayerWeapon(playerid);
  32.  
  33. Funkce aby mu restela zbraně aby neměl je z virtual worldu!
  34. Měla by se přidat.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement