24.05.2011, 15:30
ZCMD command not performed? :\\
25.05.2011, 02:48
pawn Код:
public OnCommandReceived(playerid,cmdtext[]) {
print("doh");
new file[256];
for(new i = 0; i < MaxTeles; i++) {
print("doh1");
format(file,sizeof(file),FileID,i);
if(!dini_Exists(file)) continue;
if(strcmp(dini_Get(file, "Command"),cmdtext,true) == 0) {
new Float:pos[2+1],name[30];
pos[0] = dini_Float(file, "X");
pos[1] = dini_Float(file, "Y");
pos[2] = dini_Float(file, "Z");
name = dini_Get(file, "Name");
return SendFormattedMessage(playerid,-1,"You have teleported to %s.",name);
}
}
}
pawn Код:
COMMAND:tpse(playerid) {
print("dohhh");
if(GetPVarInt(playerid,"LoggedIn") == 0 && !IsPlayerAdmin(playerid)) {
return DialogLogin(playerid);
} else {
return DialogMenu(playerid);
}
return 1;
}
pawn Код:
#define FILTERSCRIPT
#include <a_samp>
#include <dini>
#include <zcmd>
25.05.2011, 10:26
25.05.2011, 10:30
Still no result? Ah gawd why isn't it working..
I don't get any "doh"s and it says Unknown Command.
I don't get any "doh"s and it says Unknown Command.
25.05.2011, 14:22
man. i delete my pwn files i am very very very nervous!!! because i have same problem. but you know it
![Wink](images/smilies/wink.png)
25.05.2011, 14:26
26.05.2011, 18:54
Read the rules of this forum section.
If you do not get a reply, people do not know the answer. You can always retry after 48 hours.
I don't know the answer neither.
Then why did you post here? Because you don't seem to know the forum rules.
If you do not get a reply, people do not know the answer. You can always retry after 48 hours.
I don't know the answer neither.
Then why did you post here? Because you don't seem to know the forum rules.
26.05.2011, 19:01
If somebody knows (like umm.. ******?
) then please correct it for me! :[
I really need this.. :\
![Cheesy](images/smilies/biggrin.png)
I really need this.. :\
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)