Jump to content
  • 0

Automobile zona de dm


eXtreMe96

Question

5 answers to this question

Recommended Posts

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 !" );

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.