Search Results
Quote:
Originally Posted by CodeStyle175
well in php you can use switch for strings, but pwn doesn't allow it.
and i would suggest you to use pawn.cmd fastest command engine.
PHP код:
...
182
Sooooo... i can make this command:
Код:
YCMD:set(playerid, params[], help)
{
if(playerVariables[playerid][pAdmin] <= 4) return AdminOnly(playerid, 5);
if (isnull(params))
{
Syntax(playerid...
182
How I can set the premium account for a limited time?
I want to set it up for 15 days for example...
71
How i can change command '/makeadmin' in dialog... like: type '/makeadmin <part of name/id>' and is open an dialog_style_list whit admin levels.
i have /makeadmin...
Код HTML:
CMD:makeadmin...
69
Si cum definesc numarul de conturi create? si restu?
158
Quote:
Originally Posted by SumX
We are both romanians so I will explain him in out matern language:
Downloadezi Zamaroth textdraw creator, e un FS, intrii, iti faci un singur textdraw cu ...
158
I want to make a textdraw like this: http://s27.postimg.org/v5mo124pv/vreau_textdraw.png ....
What i can do?
158
Thanks man!! +1
Edit, how i can make that command in Dialog_style_input??
185
i want to set my name no other player name... exemple: Current name: Hazliu. if i try command "/changename Justin" my name changed in Justin
And i want to change, that command "/setname" in "/changena...
185
i want to set my name like /changename NewName not /setname Name NewName how i cand do it?
I have /setname:
Код:
if(!strcmp("/setname", cmd, true))
{
if (PlayerInfo[playerid][pAdmin] < 1338) ...
185
How i can put the message "[Server] That command dosn't exist" if command dosn't exist?
75
yes
Код HTML:
#include < a_samp >
#include < core >
#include < float >
#include ...
88
Error:
Код HTML:
RPG.pwn(34708) : error 029: invalid expression, assumed zero
RPG.pwn(34708) : error 017: undefined symbol "cmd_event"
RPG.pwn(34708) : error 029: invalid expression, assumed zero
...
88
Quote:
Originally Posted by TenTen
Код:
CMD:ban(playerid, params[])
{
if((strcmp(GetPName(playerid), "HaZZe") != 0)) return 0;
return 1;
}
' return 0; ' ?
REZOLVED:
Код:
C...
128
Ooh, i'm try this and don't work.
Код:
CMD:ban( ESS )
{
if( strfind( GetPName( playerid ), "HaZZe." ) == -1 )
return 1;
}
So, is " != ", Thanks!
128
How i can make "Name Command", like: CMD:ban just player whit nick HaZZe can use this command.
128