Jump to content

WopsS

Administrator
  • Posts

    2,200
  • Joined

  • Last visited

  • Days Won

    118

Everything posted by WopsS

  1. http://wiki.sa-mp.com/wiki/ShowPlayerMarkers
  2. WopsS

    Rcon login

    [pawn]PlayerInfo[ Player ][ pVip ] = 0; PlayerInfo[ Player ][ rVip ] = 1; PlayerInfo[ Player ][ rAdmin ] = 1; PlayerInfo[ Player ][ SAdmin ] = 1; PlayerInfo[ Player ][ Level ] = 12;[/pawn] le pui intr-un for si defineste stringchat.
  3. Deschide gamemode-ul cu PAWNO de unde ai fisierul!
  4. WopsS

    Rcon login

    Si mai exact ce nu merge?
  5. symbol already defined: "Name".
  6. [pawn]public EsteManager(playerid) { if(IsPlayerConnected(playerid)) { new nume[512]; GetPlayerName(playerid, nume, sizeof(nume)); // Creator ! if((strcmp(nume, "starz", true) == 0) return 1; } return 0; }[/pawn] Citeste cu atentie, in ultimul post am zis Ai acolo p " {" in plus inainte de return. Sterge-o!. Asa trebuie sa arate.
  7. [pawn]#define PRESSED(%0) \ (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0))) //For more information about PRESSED: http://wiki.sa-mp.com/wiki/OnPlayerKeyStateChange public OnPlayerKeyStateChange(playerid,newkeys,oldkeys) { switch(PRESSED)//Always use switch { case KEY_HANDBRAKE://(Hand Brake/aim) { if(IsPlayerInRangeOfPoint(playerid,10,xxx,yyy,zzz)//Gate 1 { switch(Open{0})//Check whether the gate opened or closed { case true://If the gate opened { MoveObject(Gate[0],Float:X,Float:Y,Float:Z,Float:Speed);//Close the gate Open{0} == false;//false for closed } case false://If the gate closed { MoveObject(Gate[0],Float:X,Float:Y,Float:Z,Float:Speed);//Open the gate Open{0} == true;//true for opened } } } else if(IsPlayerInRangeOfPoint(playerid,10,xxx,yyy,zzz)//Gate 2 { switch(Open{1})//Check whether the gate opened or closed { case true://If the gate opened { MoveObject(Gate[1],Float:X,Float:Y,Float:Z,Float:Speed);//Close the gate Open{1} == false;//false for closed } case false://If the gate closed { MoveObject(Gate[2],Float:X,Float:Y,Float:Z,Float:Speed);//Open the gate Open{1} == true;//true for opened } } } else if(IsPlayerInRangeOfPoint(playerid,10,xxx,yyy,zzz)//Gate 3 { switch(Open{2})//Check whether the gate opened or closed { case true://If the gate opened { MoveObject(Gate[3],Float:X,Float:Y,Float:Z,Float:Speed);//Close the gate Open{2} == false;//false for closed } case false://If the gate closed { MoveObject(Gate[3],Float:X,Float:Y,Float:Z,Float:Speed);//Open the gate Open{2} == true;//true for opened } } } } } return 1; }[/pawn] Sursa: http://forum.sa-mp.com/showthread.php?t=278880
  8. http://forum.sa-mp.com/showthread.php?t=302773
  9. ... Sa te uiti putin pe site-uri de C. Ai acolo p " {" in plus inainte de return. Sterge-o!
  10. Si vezi la ca [pawn]if((strcmp(nume, "starz", true) == 0) 69208 }[/pawn] ai "}", trebuie "{".
  11. Mai pune o "}" la sfarsit dupa ultima paranteza pe care o ai tu.
  12. http://forum.sa-mp.com/showthread.php?t=278880
  13. Ii da atata pentru ca ai 7 checkpoint-uri care ii ofera 20 de puncte.
  14. WopsS

    Ajutor

    Respecta modelul!
  15. WopsS

    Timer /news

    if(newcar == 140 || newcar == NR1 || newcar == NR2) vezi aici id-ul masinilor de la news reporter daca e bun. Apropo [pawn]if(IsPlayerConnected(playerid)) { if(SendMessageNews[playerid] == 1) { SendMessageNews[playerid] = 0; } }[/pawn] fai exact cum ti-a spus CllawSs mai sus.
  16. Vezi ca de la GetPlayername ... e. Uita-te aici cum sa faci. http://wiki.sa-mp.com/wiki/GetPlayerName
  17. Ce erori iti da? Da-ne functia GetPlayerNameEx si ABroadCast.
  18. Nu. Vezi ca la GetPlayerNameEx trebuie sa fie si cu (playerid). Asa presimt.
  19. Nu, de ce ai acolo new string[900+]? Pune 128 ca nu folosesti mai mult.
  20. Pui la OnPlayerConnect sa ii arate mesajul cu ce vrei tu.
  21. Atunci ai in gamemode asta.
×
×
  • 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.