#1

Hello
help me please... i am use a rank system...

So... My Rank Is Pilot.
but when i login only show Login Tuntun..

But i want to show my rank like: Pilot Tuntun Login.
Please help... how to add this?
Also.. i am script some thing and i see no effect
i script this:
if(strcmp(cmd, "/jetpack", true) == 0)
{
if(PInfo[playerid][AdminLevel] > 2)
{
SendClientMessage(playerid, COLOR_WHITE, "You have jetpack now!");
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USE JETPACK);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_ERROR, "You are not an administrator or server Owner!");
return 1;
}
Reply
#2

Use PAWN tags around code, please.

pawn Код:
//Code here
The problem you're having for the jetpack code is an error in the special action.

pawn Код:
//You wrote:
SPECIAL_ACTION_USE JETPACK
//Should be:
SPECIAL_ACTION_USE_JETPACK
For your first question, what you're looking for is formatting a string and sending it to all players under the login code.

More information can be found here:

https://sampwiki.blast.hk/wiki/Format
Reply
#3

Код:
if(PInfo[playerid][AdminLevel] > 2)
have you enum this PInfo?
Its hard to help like this. Whats the line that show that you are pilot? Give us the line
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)