Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #1
- new Float:x, Float:y, Float:z;
- new string2[350];
- GetPlayerPos(playerid, x, y, z);
- PrywatnyPojazd[playerid] = CreateVehicle(PojazdPrvId[playerid], x+2, y+2, z+1, 0.0, random(128), random(128), 99999999999);
- format(string2, sizeof(string2), "Właściciel: %s", PlayerName2(playerid));
- PrywatnyPojazdLabel[playerid] = CreatePlayer3DTextLabel(playerid,string2,0x00FFFFFF,0.0,0.0,0.0,60.0,INVALID_PLAYER_ID,PrywatnyPojazd[playerid],0);
- PrivCar[PrywatnyPojazd[playerid]] = playerid;
- ZespawnowanyPrivCar[playerid] = true;
- SetVehiclePos(PrywatnyPojazd[playerid], x+2, y+2, z+1);
- LinkVehicleToInterior(PrywatnyPojazd[playerid], GetPlayerInterior(playerid));
- SetVehicleVirtualWorld(PrywatnyPojazd[playerid], GetPlayerVirtualWorld(playerid));
- SendClientMessage(playerid, COLOR_GREEN, "Teleportowałeś(aś) swój prywatny pojazd do siebie.");
- ChangeVehicleColor(PrywatnyPojazd[playerid], KolorPrv1[playerid], KolorPrv2[playerid]);
- ChangeVehiclePaintjob(PrywatnyPojazd[playerid], penjob[playerid]);
- #2
- new Float:x, Float:y, Float:z;
- new string2[350];
- GetPlayerPos(playerid, x, y, z);
- PrywatnyPojazd[playerid] = CreateVehicle(PojazdPrvId[playerid], x+2, y+2, z+1, 0.0, random(128), random(128), 99999999999);
- format(string2, sizeof(string2), "Właściciel: %s", PlayerName2(playerid));
- 21772 PrywatnyPojazdLabel[playerid] = Create3DTextLabel(string2,0x00FFFFFF,0.0,0.0,0.0,60.0,0);
- 21773 Attach3DTextLabelToVehicle(PrywatnyPojazdLabel[playerid], PrywatnyPojazd[playerid], 0.0, 0.0, 0.0);
- PrivCar[PrywatnyPojazd[playerid]] = playerid;
- ZespawnowanyPrivCar[playerid] = true;
- SetVehiclePos(PrywatnyPojazd[playerid], x+2, y+2, z+1);
- LinkVehicleToInterior(PrywatnyPojazd[playerid], GetPlayerInterior(playerid));
- SetVehicleVirtualWorld(PrywatnyPojazd[playerid], GetPlayerVirtualWorld(playerid));
- SendClientMessage(playerid, COLOR_GREEN, "Teleportowałeś(aś) swój prywatny pojazd do siebie.");
- ChangeVehicleColor(PrywatnyPojazd[playerid], KolorPrv1[playerid], KolorPrv2[playerid]);
- ChangeVehiclePaintjob(PrywatnyPojazd[playerid], penjob[playerid]);
- Rezultat;
- gm.pwn(21772) : warning 213: tag mismatch
- gm.pwn(21773) : warning 213: tag mismatch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement