Search Results
I am looking for scripting and mapping staff for a new project, Evolved Roleplay. Experience preferred, though not necessarily essential. Feel free to contact us with examples of your work; this may...
358,997
Nor did i but when i try to make a command i get the errors
EDIT: 1 error
Код:
error 013: no entry point (no public functions)
242
Now all im getting is :
Код:
error 017: undefined symbol "CMD"
warning 225: unreachable code
242
nah im getting
error 017: undefined symbol "CMD"
error 017 invalid expression, assumed zero
Код:
CMD( "/test", cmdtext, true, 10) == 0)
and put
Quote:
#define CMD( if(strcmp(cmd,
242
I tried , didnt work, so any idea for a solution?
242
Ok i know you guys are gonna say stuff like use dcmd, and what not but i like strcmp, so this is my question
is there anyway to make it like
Код:
CMD:"/mycommand", cmdtext, true, 10) == 0)
and the...
242
you could put
Код:
if(IsPlayerAdmin(playerid))
That way unless they rcon cant get in
138
how about
Код:
if(strcmp(cmd, "/fire", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 1 && Aduty[playerid] == 1)
{
GetPlayerPos(playerid,smokex,smokey,smokez);
CreateExplos...
129
ok well i coudlnt be assed making it into a FS as its only a few lines, nor a tutorial(not long enough) so i figured id put it here
Rage Quit !
Код:
if(strcmp(cmd, "/ragequit", true) == 0 || st...
177
Try using ConnectNPC under ongamemode init [ https://sampwiki.blast.hk/wiki/ConnectNPC ]
227
doing this in a hurry so...
Код:
if ( strcmp ( cmd , "/ban" , true ) == 0 && IsPlayerAdmin ( playerid ) )
{
new tmp [ 256 ];
new message [ 256 ];
tmp = strtok ( cmdtext , i...
148
hmm, is the CP meant to be in a certain VW or is it default?
256
i think he wants ShowNameTags(1); that would be under gamemodeinit
or as MP2 said for the player would also work
280
can you show me the code were it creates the CP
256
I think it creates the checkpoint somewhere else in your script as i cant find were it creates the CP(as i am a little slow sometimes tell me if im rong)
256
Yes you should but i mainly made this for the people who don't really know or are learning pawno and may not understand any of the advanced tutorials
642