Search Results
It works. All works now, thank you once again. I will +rep you again as soon as I can.
85
I can't believe I did that mistake. Thank you! [+rep].
Now if you guys could tell me why the object creates but I can't see it.
85
That's because you're hashing the passwords. That's what that stock is for.
71
Hello,
I'm trying to develop a pick/drop (drug) system.
I currently have these in my game-mode:
PHP код:
CMD:dropweed( playerid, cmdtext[] ) {
    new Float:x,
        Floa...
85
Lighter one:
PHP код:
stock GetName(playerid){    new name[MAX_PLAYER_NAME];    GetPlayerName(playerid,name,sizeof(name));    name[strfind(name,"_")] = ' ';    return name...
178
Something simple.
PHP код:
public OnPlayerTakeDamage ( playerid, issuerid, Float:amount, weaponid, bodypart ) {        // I don't believe that's the sound ID for theÂ...
173
Thank you, I'll try it later but as it seems it looks like it'll work. You received +rep.
111
Hello,
How do I make an entrance to be locked for all the players on the server?
Let's say we've door A which's a faction door. Only the leader can lock the door.
I tried doing:
PHP код:
do...
111
If you've sscanf2 try:
PHP код:
CMD:createjob(playerid, params[])
{
        new jobname;
        new string[128];
          if(isnull(params)) return SendClientM...
95
What CalvinC said, that's exactly what happens.
It should look like this:
PHP код:
enum pInfo
{
pKey[32],
pReg,
pCash,
pSkin,
pAdmin,
pRCar
};Â
Don't put a comma at the end of the last t...
162
I didn't say that there's something wrong with you. It was that I couldn't understand what you were trying to say.
It has been fixed. Thank you!
116
I couldn't catch something else what you edited than:
PHP код:
if(PlayerInfo[playerid][pAdmin]Â Â <Â 2)Â
Which I think that's not what I want. I want only admins that are level 6 to be...
116
Try:
PHP код:
SendAdminMessage(stringer, 0xD97700AA);Â
226
Considering you've this:
PHP код:
new PlayerInfo[MAX_PLAYERS][Extra];Â
Defines:
PHP код:
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AAÂ
Command would be:...
104
Show us your stock SendAdminMessage.
// Golf was first. He has the fix.
226
Код:
SendAdminMessage(0xD97700AA, stringer, 1);
226
Код:
ProxDetector(20.0, playerid, string, 0xE6E6E6E6, 0xC8C8C8C8, 0xAAAAAAAA, 0x8C8C8C8C, 0x6E6E6E6E);
Try also defining those colors. I don't know what else it could be because it all looks OK fo...
173
Try this:
Код:
CMD:sethealth( playerid, params[] ) {
new targetid,
Float:newhealth;
if(!IsAdminLevel(playerid, 1)) return SendClientMessage(playerid, COLOR_RED, "You need a higher adminis...
165
Hey!
I got the following command:
Код:
CMD:awarn( playerid, cmdtext[] ) {
new targetid,
string[128];
if(PlayerInfo[playerid][pAdmin] < 6)
return SendClientMessage(playerid, COLOR_RED...
116
Код:
CMD:minigun( playerid, params[] ) {
if(GetPlayerMoney(playerid) >= 100) {
GivePlayerWeapon(playerid, 38, 500);
GivePlayerMoney(playerid, -100);
} else {
SendClientMessage(player...
304