Jump to content

Recommended Posts

Posted

Salut sunt nou in pawno si nu inteleg cum pot face o "actiune" intre doi playeri.Adica playerid sa ii dea bani/admin sau orice atui player.

Un mic exemplu sau un tutorial ar fi de mare ajutor.

Posted
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

 

Posted (edited)

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
Posted

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

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.