- 0
Sistem Sweeper
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
ToX1c
Salut am si eu un sistem sweeper , si as vrea sa il modific in alt mod
De ex dau /startsweep si imi apare primul checkpoint si imi da 50$ din checkpointul ala dispare si apare altu si tot asa
Eu as vrea sa fac cand dau /startsweep sa ma duc in primul checkpoint si sa nu imi dea bani sa imi dea la ultimul checkpoint facut de mine si sa se respawneze masina dupa sa o iau iar de la capat cu /startsweep
astea sunt checkpointurile
new Float:gSweeperPoints[5][3] = { {1148.0198,-1675.4827,13.5063}, {1056.7313,-1709.6992,13.1080}, {1040.1718,-1586.8624,13.1078}, {1115.1776,-1574.6176,13.1173}, {1136.0420,-1611.9484,13.6059} };aici onplayerentercheckpointif(PlayerIsSweeping[playerid] == 1) { if(IsPlayerInAnyVehicle(playerid)) { new string[120]; new carid = GetPlayerVehicleID(playerid); if(IsASweeper(carid)) { new cashes=(random(35-10)+10); PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); format(string, sizeof(string), "~g~+%d$ ~w~ in plus pentru ca ai curatat!",cashes*4); GameTextForPlayer(playerid, string, 5000, 1); DisablePlayerCheckpoint(playerid); PlayerInfo[playerid][pCash] = PlayerInfo[playerid][pCash] + cashes*4; new randomss; randomss = random(sizeof(gSweeperPoints)); SetPlayerCheckpoint(playerid, gSweeperPoints[randomss][0], gSweeperPoints[randomss][1], gSweeperPoints[randomss][2], 5.0); } } return 1; }Care imi poate zice cum as putea face?
1 answer to this question
Recommended Posts