Jump to content
  • 0

Automobile zona de dm


Question

5 answers to this question

Recommended Posts

Posted

Introdu FS-ul in GM, sau fa o functie in GM:

forward IsInDM_GM( playerid );
public IsInDM_GM( playerid ) return Variabila_Daca_e_In_DM[ playerid ];
si in FS:
forward IsInDM( playerid );
public IsInDM( playerid ) return CallRemoteFunction( "IsInDM_GM", "i", playerid );
si apoi la comanda /car pui
if( IsInDM( playerid ) ) return SendClientMessage( playerid, -1, "Nu poti scrie aceasta comanda cand esti in DM !" );

Posted

D:\Instal\xD\gamemodes\New.pwn(4819) : error 090: public functions may not return arrays (symbol "IsInDM_GM")

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.

Dece apare erroare asta nu pot intelege?

Linia cu erroare public IsInDM_GM( playerid ) return  SpawnInDM[playerid];

lol

Posted

La mine e asa :)

if(strlen(SpawnInDM[ playerid ] ) >= 2 ) return ShowPlayerDialog(playerid,teledm,DIALOG_STYLE_MSGBOX,"Eroare:","{FFF1AF}Nu te poti teleporta cind te afli intro {B7FF00}zona deathmatch /exitdm","OK", "" );

Lucreaza solved thx

lol

Guest
This topic is now closed to further replies.
×
×
  • 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.