- 0
Mori de Ras =)))
-
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
John_Ionut
Bv bine ca ai intrat, vrteau si eu un ajutor in legatura cu urmatoarele
1.Asta cum o pot face sa fie pentru membrii?, adica sa o poata deschide doar un membru? va rog sa imi aratat si sa modificati un pic daca este cazu
[pawn]if( strcmp(cmdtext, "/opengates", true)==0)
{
MoveDynamicObject(TCC, -487.9524,-560.3828,36.8985, 5);
return 1;
}[/pawn]
2.Aici iti voi arata ceva, si sa faceti daca vreti cum sa ia bani chiar atuncia si nu al payday? ilk legatura cu jobul asta, va rog sa o modificati daca este cazul
[pawn]if(PlayerIsSweeping[playerid] == 1)
{
if(IsPlayerInAnyVehicle(playerid))
{
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~added to your paycheck",cashes);
GameTextForPlayer(playerid, string, 5000, 1);
DisablePlayerCheckpoint(playerid);
PlayerInfo[playerid][pPayCheck] += cashes * 5;
new randomss;
randomss = random(sizeof(gSweeperPoints));
SetPlayerCheckpoint(playerid, gSweeperPoints[randomss][0], gSweeperPoints[randomss][1], gSweeperPoints[randomss][2], 5.0);
}
}
return 1;
}[/pawn]
Va multumesc pentru atentia acordata :D
2 answers to this question
Recommended Posts