Problem(error/warning): Napravio sam kada clan PD stisne ctrl dugme da izadje da stane sa strane medjutim ne radi
Dio skripte:
[pawn]
if ( PRESSED ( KEY_FIRE ) )
{
if(IsPlayerInAnyVehicle(playerid))
{
new string[128];
if( GetFactionType( playerid ) != ORG_TIP_PD )
{
format(string, sizeof(string), "Policija: %s stoj izadjite iz vozila ili cemo upotrebiti silu", GetName(playerid));
ProxDetector(15.0, playerid, strding,PLAVA,PLAVA,PLAVA,PLAVA,PLAVA);
}
}
}
[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
Slika/video ingame problema(obavezno ako je ingame problem):
if(newkeys & KEY_ACTION) stavi ovaj key ovaj key ti LCTRL
Dok je taj tvoj Lijevi taster ALT
to je bilo pre ja sam izmenio i tad nije htelo
https://wiki.sa-mp.com/wiki/Keys
if(newkeys & KEY_ACTION)
dodaj i probaj mora raditi
Gledao sam to ali nece iz nekog razloga uzmem duty setam si lidera nece
nece