Jump to content

Cmd intre doi playeri


Vespa97

Recommended Posts

 

E cam cea ce ai nevoie dar ai nevoie de includeul zcmd si sa schimbi P_Data in PlayerInfo sau cum ai tu in gm 

 

  • Upvote 1

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

public OnPlayerCommandText(playerid, cmdtext[])
{
    COMMAND:mycommand(playerid, params[])
	{
		SMC(playerid,0,"MM DE ZCMD");
			return 1;
	}
	return 1;
}
///erori ....de ce?
C:\Users\Loser\Desktop\Server Samp\gamemodes\OlteanClan.pwn(187) : error 029: invalid expression, assumed zero
C:\Users\Loser\Desktop\Server Samp\gamemodes\OlteanClan.pwn(187) : error 017: undefined symbol "cmd_mycommand"
C:\Users\Loser\Desktop\Server Samp\gamemodes\OlteanClan.pwn(187) : error 029: invalid expression, assumed zero
C:\Users\Loser\Desktop\Server Samp\gamemodes\OlteanClan.pwn(187) : fatal error 107: too many error messages on one line

 

Link to comment
Share on other sites

comenzile zcmd nu trebuie puse in public onplayercommandtext ele insesi sunt un "public"

deci nu vei mai avea nevoie de public onplayercommandtext, si sa nu mai ai comenzi se strcmp ca se vor incurca intre ele

Edited by Mister

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

Nu mai porneste servarul 


----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[19:49:25] 
[19:49:25] Server Plugins
[19:49:25] --------------
[19:49:25]  Loading plugin: sscanf
[19:49:25]   Failed.
[19:49:25]  Loaded 0 plugins.

[19:49:25] 
[19:49:25] Filterscripts
[19:49:25] ---------------
[19:49:25]   Loaded 0 filterscripts.

[19:49:25] Script[gamemodes/OlteanClan.amx]: Run time error 19: "File or function is not found"
[19:49:25] Number of vehicle models: 0

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.