-
Posts
31 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by BlackWolf
-
-
Multumesc ! Puteti da T/C ! :D
-
As vrea sa pun un buton ca sa porneasca/opreasca masina/motocicleta...Cum as putea face asta ?
De exemplu sa o pornesc pe 2 !
Multumesc ! :D
-
Deci eu vreau sa imi iau BANII MEI care i-am pus in banca dar sa fiu in fata bancomatului de pe strada nu in banca !
-
Am pus niste bancomate pe server si vreau sa fac o comanda ca /withdraw ca sa iau banii mei din banca dar sa nu ma duc in banca eu vreau sa fiu in fata bancomatului ca sa iau banii din banca ! Cum as putea sa fac asa ceva ?
Este un sistem de bancomate !
-
Aceasta este comanda :
[pawn] if(strcmp(cmd, "/etilotest", true) == 0
{
if(IsPlayerConnected(playerid))
{
if (IsACop(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /etilotest [playerid/PartOfName]");
return 1;
}
giveplayerid = ReturnUser(tmp);
new level = GetPlayerDrunkLevel(giveplayerid);
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
if(GetDistanceBetweenPlayers(playerid,giveplayerid) < 3)
{
if(level > 600)
{
format(string, sizeof(string), "* %s grabs their breathalyzer and puts the tube into %s's mouth.", sendername ,giveplayer);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "** Breathalyzer Result: Intoxicated **");
GameTextForPlayer(playerid,"~w~Acest player este~n~~r~beat!", 8000, 1);
return 1;
}
else
{
format(string, sizeof(string), "* %s grabs their breathalyzer and puts the tube into %s's mouth.", sendername ,giveplayer);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "** Breathalyzer Result: Not Intoxicated **");
GameTextForPlayer(playerid,"~w~Acest player nu este~n~~r~beat!", 8000, 1);
return 1;
}
}
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Acest player este offline !");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Trebuie sa fii politist pentru a folosi comanda! (Cops Only)");
}
}
return 1;
}[/pawn]
Si imi da eroarea asta :
[pawn]D:\GM\gamemodes\GFACTOR.pwn(31403) : error 029: invalid expression, assumed zero[/pawn]
Si linia 31403 este acest semn :
[pawn]{[/pawn]
Reply : [Rezolvat]
Problema poarta
in Arhivă probleme
Posted
Salut ! Nu stiu de ce nu se deschide poarta la taxi , tcc .. nush ce sa ii fac ! Uitati o poza :
http://postimg.org/image/vqugwe25f/