Advertisement
Guest User

Untitled

a guest
Jul 5th, 2014
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. #1
  2. new Float:x, Float:y, Float:z;
  3. new string2[350];
  4. GetPlayerPos(playerid, x, y, z);
  5. PrywatnyPojazd[playerid] = CreateVehicle(PojazdPrvId[playerid], x+2, y+2, z+1, 0.0, random(128), random(128), 99999999999);
  6. format(string2, sizeof(string2), "Właściciel: %s", PlayerName2(playerid));
  7. PrywatnyPojazdLabel[playerid] = CreatePlayer3DTextLabel(playerid,string2,0x00FFFFFF,0.0,0.0,0.0,60.0,INVALID_PLAYER_ID,PrywatnyPojazd[playerid],0);
  8. PrivCar[PrywatnyPojazd[playerid]] = playerid;
  9. ZespawnowanyPrivCar[playerid] = true;
  10. SetVehiclePos(PrywatnyPojazd[playerid], x+2, y+2, z+1);
  11. LinkVehicleToInterior(PrywatnyPojazd[playerid], GetPlayerInterior(playerid));
  12. SetVehicleVirtualWorld(PrywatnyPojazd[playerid], GetPlayerVirtualWorld(playerid));
  13. SendClientMessage(playerid, COLOR_GREEN, "Teleportowałeś(aś) swój prywatny pojazd do siebie.");
  14. ChangeVehicleColor(PrywatnyPojazd[playerid], KolorPrv1[playerid], KolorPrv2[playerid]);
  15. ChangeVehiclePaintjob(PrywatnyPojazd[playerid], penjob[playerid]);
  16.  
  17.  
  18. #2
  19. new Float:x, Float:y, Float:z;
  20. new string2[350];
  21. GetPlayerPos(playerid, x, y, z);
  22. PrywatnyPojazd[playerid] = CreateVehicle(PojazdPrvId[playerid], x+2, y+2, z+1, 0.0, random(128), random(128), 99999999999);
  23. format(string2, sizeof(string2), "Właściciel: %s", PlayerName2(playerid));
  24. 21772 PrywatnyPojazdLabel[playerid] = Create3DTextLabel(string2,0x00FFFFFF,0.0,0.0,0.0,60.0,0);
  25. 21773 Attach3DTextLabelToVehicle(PrywatnyPojazdLabel[playerid], PrywatnyPojazd[playerid], 0.0, 0.0, 0.0);
  26. PrivCar[PrywatnyPojazd[playerid]] = playerid;
  27. ZespawnowanyPrivCar[playerid] = true;
  28. SetVehiclePos(PrywatnyPojazd[playerid], x+2, y+2, z+1);
  29. LinkVehicleToInterior(PrywatnyPojazd[playerid], GetPlayerInterior(playerid));
  30. SetVehicleVirtualWorld(PrywatnyPojazd[playerid], GetPlayerVirtualWorld(playerid));
  31. SendClientMessage(playerid, COLOR_GREEN, "Teleportowałeś(aś) swój prywatny pojazd do siebie.");
  32. ChangeVehicleColor(PrywatnyPojazd[playerid], KolorPrv1[playerid], KolorPrv2[playerid]);
  33. ChangeVehiclePaintjob(PrywatnyPojazd[playerid], penjob[playerid]);
  34. Rezultat;
  35. gm.pwn(21772) : warning 213: tag mismatch
  36. gm.pwn(21773) : warning 213: tag mismatch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement