SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Română/Romanian

Reply
 
Thread Tools Display Modes
Old 23/04/2013, 10:32 PM   #1221
Mazoku
Little Clucker
 
Join Date: Apr 2013
Posts: 2
Reputation: 0
Default Re: Probleme cu gamemode-ul "The Godfather", si altele

Se poate face Dealership cu comanda de ex: /buycar dar pe ini ca la MySQL nu am daca DA cum ?
Mazoku is offline   Reply With Quote
Old 28/04/2013, 02:05 PM   #1222
CrayZee09
Little Clucker
 
Join Date: Apr 2013
Posts: 31
Reputation: 0
Default Re: Probleme cu gamemode-ul "The Godfather", si altele

Am un edit de la GF, cum fac ca wantedul sa imi apara sub forma de stele sub bani?
CrayZee09 is offline   Reply With Quote
Old 01/05/2013, 08:37 AM   #1223
Gabyyy
Huge Clucker
 
Gabyyy's Avatar
 
Join Date: Sep 2011
Posts: 306
Reputation: 1
Default Re: Probleme cu gamemode-ul "The Godfather", si altele

Quote:
Originally Posted by CrayZee09 View Post
Am un edit de la GF, cum fac ca wantedul sa imi apara sub forma de stele sub bani?
La inceputul gamemode-ului(deasupra celorlalte new-uri) pui :
Code:
new stars
La OnPlayerEnterVehicle sub if(gTeam[playerid] >=3 pui
Code:
new wanted = GetPlayerWantedLevel(playerid);
SetPlayerWantedLevel(playerid, wanted + 1);
Apoi te uiti dupa :
Code:
if(PlayerInfo[playerid][pJailed] == 1)
      {
            SetPlayerInterior(playerid, 6);
         SetPlayerPos(playerid,264.6288,77.5742,1001.0391);
         SendClientMessage(playerid, COLOR_LIGHTRED, "Incomplete Jail Sentence, back to jail.");
         return 1;
      }
Si deasupra la SetPlayerInterior(playerid, 6) pui :
Code:
SetPlayerWantedLevel(playerid, 0);
Apoi cauti :
Code:
 if(count == 1)
         {
            GivePlayerMoney(playerid, - price);
            PlayerInfo[playerid][pWantedDeaths] += 1;
            PlayerInfo[playerid][pJailed] = 1;
             PlayerInfo[playerid][pJailTime] = (WantedLevel[playerid])*(1000);
             format(string, sizeof(string), "* You are in Jail for %d Seconds and lose $%d because of running away and getting shot by the Officer.", PlayerInfo[playerid][pJailTime], price);
             SendClientMessage(playerid, COLOR_LIGHTRED, string);
             WantedPoints[playerid] = 0;
            WantedLevel[playerid] = 0;
         }
      }
   }
Sub
Code:
PlayerInfo[playerid][pJailTime] = (WantedLevel[playerid])*(1000)
pui
Code:
SetPlayerWantedLevel(playerid, 0);
Apoi cauti :
Code:
format(turnmes, sizeof(turnmes), "You've commited a Crime ( %s ). Reporter: %s.",reason,turner);
Si sub SendClientMessage pui :
Code:
new wanted = GetPlayerWantedLevel(playerid);
SetPlayerWantedLevel(playerid, wanted + 1);
N-am testat.. rep+ daca te-am ajutat
Gabyyy is offline   Reply With Quote
Old 18/05/2013, 03:48 PM   #1224
Vladfun
Little Clucker
 
Vladfun's Avatar
 
Join Date: May 2013
Location: Moldova
Posts: 10
Reputation: 0
Default Re: Probleme cu gamemode-ul "The Godfather", si altele

Ajutor va rog cu streamer-ul :

la aceasta linie
Code:
native SetDynamicObjectMaterialText(objectid, materialindex, const text[], materialsize = OBJECT_MATERIAL_SIZE_256x128, const fontface[] = "Arial", fontsize = 24, bold = 1, fontcolor = 0xFFFFFFFF, backcolor = 0, textalignment = 0);
am problemele :
Code:
pawno\include\streamer.inc(158 ) : error 029: invalid expression, assumed zero
pawno\include\streamer.inc(158 ) : error 008: must be a constant expression; assumed zero
\pawno\include\streamer.inc(158 ) : error 001: expected token: ";", but found "const"
\pawno\include\streamer.inc(158 ) : fatal error 107: too many error messages on one line
ajutor va rog!!!
Vladfun is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xMovie Entertainment (3 vids): "Like a boss" "The rapist" "Jizz in my pants" xMovie Screenshots and Videos 11 27/03/2012 12:10 PM
Hmm i have a COLOR_"Color" Probleme ._. MrEnd Help Archive 8 24/05/2010 11:49 AM
[duv] COmo criar um chat "vip" pra godfather? xolp25 Português/Portuguese 8 27/12/2009 05:36 PM
Admin script requires "ReturnUser", "strtok" and "IsNumeric" Rubennnnn Help Archive 1 02/12/2009 06:08 PM
"Bots", "AI", "NPCs"... Computer-controlled pedestrians and traffic! ssflsnoob General 2 23/11/2008 06:06 PM


All times are GMT. The time now is 10:17 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.