Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Chcete si vytvořit VirtualWorld?
- Takhle tu máte návod
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/world 15", cmdtext, true, 10) == 0)
- {
- SetPlayerVirtualWorld(playerid, 15);
- SendClientMessage(playerid, "Seš ve worldu 15 zpět /world 0);
- if (strcmp("/world 15", cmdtext, true, 10) == 0)
- {
- SetPlayerVirtualWorld(playerid, 0);
- SendClientMessage(playerid, "Vitej zpět na worldu 0);
- VirtualWorld se zbraněma?
- if (strcmp("/world 10", cmdtext, true, 10) == 0)
- {
- SetPlayerVirtualWorld(playerid, 10);
- SendClientMessage(playerid, "Seš ve worldu 10 zpět /world 0);
- GivePlayerWeapon(playerid, 26, 1000);
- Vráceni zpět?
- if (strcmp("/world 0", cmdtext, true, 10) == 0)
- {
- SetPlayerVirtualWorld(playerid, 0);
- SendClientMessage(playerid, "Vitej zpět byli ti odebrani všechny zbraně);
- ResetPlayerWeapon(playerid);
- Funkce aby mu restela zbraně aby neměl je z virtual worldu!
- Měla by se přidat.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement