how i change wrong command (unknow command) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: how i change wrong command (unknow command) (
/showthread.php?tid=156400)
how i change wrong command (unknow command) -
OmarEco - 22.06.2010
how i change wrong command (unknow command)for any thing i need
Re: how i change wrong command (unknow command)for any thing i need -
OmarEco - 22.06.2010
and how i enable auto view mini info bar
Re: how i change wrong command (unknow command)for any thing i need -
bajskorv123 - 22.06.2010
Quote:
Originally Posted by OmarHassan
how i change wrong command (unknow command)for any thing i need
|
Do you mean the "SERVER: UNKNOWN COMMAND" message?
Quote:
Originally Posted by OmarHassan
and how i enable auto view mini info bar
|
What do you mean?
Re: how i change wrong command (unknow command)for any thing i need -
OmarEco - 22.06.2010
frist : yes
next : this not important
Re: how i change wrong command (unknow command)for any thing i need -
OmarEco - 22.06.2010
and in car jump code if i press look behind the player jump high how i change look behind to key_jump
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (PRESSED(KEY_SUBMISSION))
{
new Float:x, Float:y, Float:z; new vehicle=GetPlayerVehicleID(playerid); //forgot somehing here Niixie :)
if(IsPlayerInAnyVehicle(playerid))
{
GetVehicleVelocity(vehicle,x,y,z);
SetVehicleVelocity(vehicle,x,y,z+0.5);
}
else
{
GetPlayerVelocity(playerid, x, y, z);
SetPlayerVelocity(playerid, x, y, z +20);
}
}
return 1;
}
Re: how i change wrong command (unknow command)for any thing i need -
OmarEco - 22.06.2010
where's help
Re: how i change wrong command (unknow command) -
OmarEco - 22.06.2010
Re: how i change wrong command (unknow command) -
bajskorv123 - 22.06.2010
Dont 4x post, then you will get ban instead of help
Change this row:
pawn Код:
if (PRESSED(KEY_SUBMISSION))
To this:
Quote:
Originally Posted by OmarHassan
Quote:
Originally Posted by [NWA
Hannes ]
Quote:
Originally Posted by OmarHassan
how i change wrong command (unknow command)for any thing i need
|
Do you mean the "SERVER: UNKNOWN COMMAND" message?
|
Yes
|
Dunno really
Re: how i change wrong command (unknow command) -
OmarEco - 22.06.2010
Quote:
Originally Posted by [NWA
Hannes ]
Dont 4x post, then you will get ban instead of help
Change this row:
pawn Код:
if (PRESSED(KEY_SUBMISSION))
To this:
Quote:
Originally Posted by OmarHassan
Quote:
Originally Posted by [NWA
Hannes ]
Quote:
Originally Posted by OmarHassan
how i change wrong command (unknow command)for any thing i need
|
Do you mean the "SERVER: UNKNOWN COMMAND" message?
|
Yes
|
Dunno really
|
ok but where i change it in admin script or gamemode
Re: how i change wrong command (unknow command) -
Jeffry - 22.06.2010
For the unknown command:
Change the
return 0; at
OnPlayerCommandText in your gamemode to:
return SendClientMessage(playerid, 0xFFFFFFFF, "Your Message");
Cheers.