Jump to content

xxSPEEDYxx

Membru
  • Posts

    1,614
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by xxSPEEDYxx

  1. asta am pus unde am celalalte stock-uri....
  2. salls...am si eu o intrebare prosteasca...) cum fac class selection...ma duc sa spunem la /aa si dau /save si dupa aia copiez AddPlayerClass in GM??) spunetimi va rog ca nush cum sa fac un alt class>>)))
  3. merge aia cum you can not use commands...etc... dar asta cum Please don't repeat yourself nu merge...imi apare Please don't repeat yourself dar messajul pe care il scriu se trimite... asa am pus la onplayertext: public OnPlayerText(playerid,text[]) { SetPlayerChatBubble(playerid, text, 0xFFFFFFAA, 100.0, 10000); if(isafk[playerid] == 1) { SystemMessage(playerid, "You can not speak for you in BRB or AFK."); } if (!strcmp(text, reactionstr, false)) { if (reactioninprog == 2) ReactionWin(playerid); if (reactioninprog == 1) { if (reactionwinnerid == playerid) { SendClientMessage(playerid, 0x247C1BFF, "You've already won!."); } else { SendClientMessage(playerid, 0x247C1BFF, "You are too slow!."); } } } if(IsPlayerFlooding(playerid) && !IsPlayerAdmin(playerid)) { SendClientMessage(playerid, 0xFF0000FF, "*{6EF83C} You can only send a message once every three {FFFFFF}seconds."); return 0; } if(!IsPlayerAdmin(playerid)) { if(strlen(text) == strlen(szPlayerChatMsg[playerid]) && !strcmp(szPlayerChatMsg[playerid], text, false)) { SendClientMessage(playerid, 0xFF0000FF, "* {FFFFFF}Please do not repeat {F81414}yourself."); format(szPlayerChatMsg[playerid], 128, "{E60000}%s", text); return 1; } } format(szPlayerChatMsg[playerid], 128, "%s", text); iPlayerChatTime[playerid] = GetTickCount(); return 1; }
  4. man...nu merge pot sa fac spam cat vreau nu apare nika....
  5. salls... cum as putea sa fac asa daca un player trimite message de mai multe ori pe 2 secunde sa ii apara:You can not use commands in only 2 secounds....
  6. LOL MyDocuments/GTA San Andreas User Files/SAMP/savedpositions.txt....
  7. nush la ce o sa foloseasca....
  8. Gata rezolvat ma ajutat stuntman;) pe mess trebuia redenumerit c-ul ala nesuferit:P:))
  9. Salls deci am scriptat in GM PRace System si am o problema la OnPlayerEnterRaceCheckpoint imi da aceste errori: C:\Documents and Settings\user\My Documents\RDU&FS&Maps&Servers\RDU\gamemodes\RDU.pwn(8878) : error 001: expected token: "-identifier-", but found "-integer value-" C:\Documents and Settings\user\My Documents\RDU&FS&Maps&Servers\RDU\gamemodes\RDU.pwn(8947) : error 022: must be lvalue (non-constant) C:\Documents and Settings\user\My Documents\RDU&FS&Maps&Servers\RDU\gamemodes\RDU.pwn(8947) : warning 215: expression has no effect C:\Documents and Settings\user\My Documents\RDU&FS&Maps&Servers\RDU\gamemodes\RDU.pwn(8955) : error 022: must be lvalue (non-constant) C:\Documents and Settings\user\My Documents\RDU&FS&Maps&Servers\RDU\gamemodes\RDU.pwn(8955) : warning 215: expression has no effect si acesta este codul... public OnPlayerEnterRaceCheckpoint(playerid) { if(Giocatore[playerid][IdGara]==-1) return 1; new g=Giocatore[playerid][IdGara]; new c=Giocatore[playerid][Checkpoint]; if(Gara[Giocatore[playerid][IdGara]][Avviata]==0) return 1; SuonoGiocatore(playerid,1138); //==============SECHECKPOINT==ULTIMO if(Giocatore[playerid][Checkpoint]==Gara[Giocatore[playerid][IdGara]][NumeroCheckpoint]) { //===========SEGIRO=ULTIMO if(Giocatore[playerid][Giro]==Gara[Giocatore[playerid][IdGara]][Giri]) { GetPlayerName(playerid,nome,sizeof(nome)); Gara[Giocatore[playerid][IdGara]][Podio]++; if(Giocatore[playerid][Tempo]<Gara[Giocatore[playerid][IdGara]][Record]) { new Minuti=floatround(Giocatore[playerid][Tempo]/60); new Secondi=Giocatore[playerid][Tempo]-(Minuti*60); format(stringa,sizeof(stringa),"[RECORD:] Player:{8ECE46}%s{FFFFFF} Track: {446ED1}%s{FFFFFF} Record: {C14124}%02d:%02d",nome,Gara[Giocatore[playerid][IdGara]][Nome],Minuti,Secondi); SendClientMessageToAll(BIANCO,stringa); Gara[Giocatore[playerid][IdGara]][Record]=Giocatore[playerid][Tempo]; format(Gara[Giocatore[playerid][IdGara]][GiocatoreRecord],25,nome); } if(!Gara[Giocatore[playerid][IdGara]][Inseguimento]) { format(stringa,sizeof(stringa),"[RACE:] {8ECE46}%s{FFFFFF} finish the race. Position: {C14124}%d",nome,Gara[Giocatore[playerid][IdGara]][Podio]); GivePlayerMoney(playerid,floatround(Gara[Giocatore[playerid][IdGara]][Costo]*Gara[Giocatore[playerid][IdGara]][PartecipantiPronti]/Gara[Giocatore[playerid][IdGara]][Podio])); SendClientMessageToAll(BIANCO,stringa); } if(Gara[Giocatore[playerid][IdGara]][Inseguimento]) { for(new i=0;i<MAX_PLAYERS;i++) { if(Giocatore[i][IdGara]==Giocatore[playerid][IdGara] && i!=playerid) { if(Giocatore[playerid][Punti]>=Giocatore[i][Punti]) { GetPlayerName(playerid,nome,sizeof(nome)); format(stringa,sizeof(stringa),"[RACE:] {8ECE46}%s{FFFFFF} wons the chase race with {C14124}%d{FFFFFF} points.",nome,Giocatore[playerid][Punti]); SendClientMessageToAll(BIANCO,stringa); GivePlayerMoney(playerid,Gara[Giocatore[playerid][IdGara]][Costo]*2); } if(Giocatore[playerid][Punti]<Giocatore[i][Punti]) { GetPlayerName(i,nome,sizeof(nome)); format(stringa,sizeof(stringa),"[RACE:] {8ECE46}%s{FFFFFF} wons the chase race with {C14124}%d{FFFFFF} points.",nome,Giocatore[i][Punti]); SendClientMessageToAll(BIANCO,stringa); GivePlayerMoney(i,Gara[Giocatore[playerid][IdGara]][Costo]*2); } LasciaGara(i); } } } DisablePlayerRaceCheckpoint(playerid); LasciaGara(playerid); return 1; } //========SEGIRO!=ULTIMO else { Giocatore[playerid][Giro]++; SetPlayerRaceCheckpoint(playerid,0,CheckpointGara[g][0][CXPos],CheckpointGara[g][0][CYPos],CheckpointGara[g][0][CZPos],CheckpointGara[g][1][CXPos],CheckpointGara[g][1][CYPos],CheckpointGara[g][1][CZPos],9); Giocatore[playerid][Checkpoint]=0; format(stringa,sizeof(stringa),"Laps: %d/%d",Giocatore[playerid][Giro],Gara[Giocatore[playerid][IdGara]][Giri]); TextDrawSetString(TextGiriContatore[playerid],stringa); return 1; } } //=========SECHECKPOINTNORMALE if(Giocatore[playerid][Checkpoint]<Gara[Giocatore[playerid][IdGara]][NumeroCheckpoint]-1) { Giocatore[playerid][Checkpoint]++; c=Giocatore[playerid][Checkpoint]; SetPlayerRaceCheckpoint(playerid,0,CheckpointGara[g][c][CXPos],CheckpointGara[g][c][CYPos],CheckpointGara[g][c][CZPos],CheckpointGara[g][c+1][CXPos],CheckpointGara[g][c+1][CYPos],CheckpointGara[g][c+1][CZPos],9); return 1; } //=========SECHECKPOINTFINALE else if(Giocatore[playerid][Checkpoint]==Gara[Giocatore[playerid][IdGara]][NumeroCheckpoint]-1) { Giocatore[playerid][Checkpoint]++; c=Giocatore[playerid][Checkpoint]; SetPlayerRaceCheckpoint(playerid,1,CheckpointGara[g][c][CXPos],CheckpointGara[g][c][CYPos],CheckpointGara[g][c][CZPos],CheckpointGara[g][c+1][CXPos],CheckpointGara[g][c+1][CYPos],CheckpointGara[g][c+1][CZPos],9); return 1; } return 0; }
  10. verifica ID-ul dialogului....sa nu fie acelasi cu un alt id...ca si mie mi sa intamplat...
  11. BV 10/10...chiar ma gandeam sa fac si eu unu...;)
  12. pai bagale unde is si cele 34:P
  13. pai ii tot una daca ii asa: dcmd_vgoto(playerid,params[]) { sau asa: dcmd_vgoto(playerid,params[]) {
  14. xxSPEEDYxx

    /vgoto

    Salls imi fac si eu un syustem de vip.... am bagat comanda asta: dcmd_vgoto(playerid,params[]) { if(Pinfo[playerid][Vip_Level] > 1){ if(!strlen(params)) return SendClientMessage(playerid,COLOR_LIGHTBLUE,"USAGE: /vgoto [playerid]"); new player1, string[128]; if(!IsNumeric(params)) player1 = ReturnPlayerID(params); else player1 = strval(params); if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID && player1 != playerid) { new Float:x, Float:y, Float:z; GetPlayerPos(player1,x,y,z); SetPlayerInterior(playerid,GetPlayerInterior(player1)); SetPlayerVirtualWorld(playerid,GetPlayerVirtualWorld(player1)); if(GetPlayerState(playerid) == 2) { SetVehiclePos(GetPlayerVehicleID(playerid),x+3,y,z); LinkVehicleToInterior(GetPlayerVehicleID(playerid),GetPlayerInterior(player1)); SetVehicleVirtualWorld(GetPlayerVehicleID(playerid),GetPlayerVirtualWorld(player1)); } else SetPlayerPos(playerid,x+2,y,z); format(string,sizeof(string),"You have teleported to \"%s\"", pName(player1)); return SendClientMessage(playerid,COLOR_LIGHTBLUE,string); } else return SendClientMessage(playerid, COLOR_YELLOW, "Player is not connected or is yourself"); } else return SendClientMessage(playerid,COLOR_YELLOW,"ERROR: You are not a V.I.P member or you are low V.I.P member!"); } si cand dau copile imi da errorile acestea: C:\Documents and Settings\user\My Documents\RDU&FS&Maps&Servers\Filterscripts\bnnbnbbn\filterscripts\VIP.pwn(123) : error 012: invalid function call, not a valid address C:\Documents and Settings\user\My Documents\RDU&FS&Maps&Servers\Filterscripts\bnnbnbbn\filterscripts\VIP.pwn(123) : warning 215: expression has no effect C:\Documents and Settings\user\My Documents\RDU&FS&Maps&Servers\Filterscripts\bnnbnbbn\filterscripts\VIP.pwn(123) : error 001: expected token: ";", but found ")" C:\Documents and Settings\user\My Documents\RDU&FS&Maps&Servers\Filterscripts\bnnbnbbn\filterscripts\VIP.pwn(123) : error 029: invalid expression, assumed zero C:\Documents and Settings\user\My Documents\RDU&FS&Maps&Servers\Filterscripts\bnnbnbbn\filterscripts\VIP.pwn(123) : fatal error 107: too many error messages on one line
  15. ASTA NUI FORUM DE MTA!!!!
  16. Inca nui gata :| doar intrebam cum se face....Dar deja stiu nui nevoie....sa ma mai ajutati...
  17. asta cu sendclientmessage stiu si eu dar cu comanda cum sa o fac nush....
  18. Neatza alls:P... am si eu un parkour race si nush cum sa fac asa: ---daca cineva scrie /parkour primu sa trimita un mesaj la toti xxSPEEDYxx a dat start la /parkour race ca sa intrii scrie /parkour... ---cand minigame-u ii pornit si scrii /parkour sa te dea in minigame...
  19. da dar daca pun oricare dintre scripturi care mi leai dat tu imi da numai o arma...eu as vrea sami dea 5...
  20. :undecided: #include <streamer>
  21. Salls alls:P cum as putea face o comanda in care cand scriu de ex:/randomw imi da 5 arme la intamplare...oricare... eu mam gandit cum ar fii sa-l fac dar nush daca ii bine: if (strcmp("/randomw", cmdtext, true, 10) == 0) { GivePlayerWeapon(playerid, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28 ,29(random, 5)); return 1; }
  22. Uite aici unu eu pe asta il folosesc iam mai adaugat cateva comenzi...are 3 lvl http://forum.sa-mp.com/showthread.php?t=138074
  23. la problema cu coinsu stiu eu ce tre sa faci: 1.Daca il ai downloadat systemu de coins a lui Rock creezi un folder nou in scriptfile numit Coins 2.:PDaca ai systemu meu de coins iti tre sa creezi in scriptfiles un folder nou numit Coins System si va merge siguratl;)!
×
×
  • Create New...

Important Information

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.