Yookku Posted March 24, 2012 Report Share Posted March 24, 2012 Cum pot sa fac masiniile in functie de rank?De ex unu de rank1 sa poata luat doar anumite masini... cei de rank2 doar anumite masini + cele care le pot lua si cei de rank 1,si tot asa... :) Link to comment Share on other sites More sharing options...
calin1996 Posted April 2, 2012 Report Share Posted April 2, 2012 Si eu caut asta,ar trebui sa se posteze un tutorial Link to comment Share on other sites More sharing options...
Yookku Posted April 2, 2012 Author Report Share Posted April 2, 2012 Cica este tutorial... dar nu vad nici unul pe aici :| Link to comment Share on other sites More sharing options...
TzAkS Posted April 2, 2012 Report Share Posted April 2, 2012 La onplayerstatechange[pawn]if(newcar == ID Masina || newcar == ID Masina) { if(PlayerInfo[playerid][pMember] == ID || PlayerInfo[playerid][pLeader] == ID) { if(PlayerInfo[playerid][pRank] < 1) { SendClientMessage(playerid,COLOR_GREY," You need Rank 1 to drive this car !"); RemovePlayerFromVehicle(playerid); } } else { RemovePlayerFromVehicle(playerid); } }[/pawn] Link to comment Share on other sites More sharing options...
calin1996 Posted April 2, 2012 Report Share Posted April 2, 2012 C:\Documents and Settings\Calin\My Documents\tot ce tine de samp\srvr1\gamemodes\rcrpr.pwn(8015) : error 029: invalid expression, assumed zeroC:\Documents and Settings\Calin\My Documents\tot ce tine de samp\srvr1\gamemodes\rcrpr.pwn(8015) : error 029: invalid expression, assumed zeroC:\Documents and Settings\Calin\My Documents\tot ce tine de samp\srvr1\gamemodes\rcrpr.pwn(8015) : warning 215: expression has no effectC:\Documents and Settings\Calin\My Documents\tot ce tine de samp\srvr1\gamemodes\rcrpr.pwn(8015) : error 001: expected token: ";", but found ")"C:\Documents and Settings\Calin\My Documents\tot ce tine de samp\srvr1\gamemodes\rcrpr.pwn(8015) : fatal error 107: too many error messages on one lineCe sa fac? Ca am pus ; ??? Link to comment Share on other sites More sharing options...
calin1996 Posted April 4, 2012 Report Share Posted April 4, 2012 MA ne-ai dat linile alea da nu trebe ceva definit? Link to comment Share on other sites More sharing options...
TzAkS Posted April 4, 2012 Report Share Posted April 4, 2012 Schimbi ID Masina si ID.Posteaza linia la care iti da eroarea Link to comment Share on other sites More sharing options...
calin1996 Posted April 4, 2012 Report Share Posted April 4, 2012 [pawn]C:\Documents and Settings\Calin\Desktop\srvr1\pawno\include\JunkBuster.inc(3250) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")C:\Documents and Settings\Calin\Desktop\srvr1\gamemodes\RCRPR.pwn(7966) : error 017: undefined symbol "newcar"C:\Documents and Settings\Calin\Desktop\srvr1\gamemodes\RCRCR.pwn(11142) : warning 204: symbol is assigned a value that is never used: "caritate2"C:\Documents and Settings\Calin\Desktop\srvr1\gamemodes\RCRPR.pwn(11141) : warning 204: symbol is assigned a value that is never used: "caritate1"Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase1 Error.[/pawn] Link to comment Share on other sites More sharing options...
TzAkS Posted April 4, 2012 Report Share Posted April 4, 2012 Posteaza liniile si ce ti-am dat eu sa fie la onplayerstatechange Link to comment Share on other sites More sharing options...
calin1996 Posted April 5, 2012 Report Share Posted April 5, 2012 [pawn] if(newcar == 1 || newcar == 9) { if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) { if(PlayerInfo[playerid][pRank] < 1) { SendClientMessage(playerid,COLOR_GREY," You need Rank 1 to drive this car !"); RemovePlayerFromVehicle(playerid); } } else { RemovePlayerFromVehicle(playerid); }[/pawn] Link to comment Share on other sites More sharing options...
Question
Yookku
Cum pot sa fac masiniile in functie de rank?De ex unu de rank1 sa poata luat doar anumite masini... cei de rank2 doar anumite masini + cele care le pot lua si cei de rank 1,si tot asa... :)
Link to comment
Share on other sites
9 answers to this question
Recommended Posts