Script issue
#10

Quote:
Originally Posted by deathdealer
Hello,

I think it is because you have Return 1 after the braket, try this:

Код:
if(strcmp(cmdtext, "/kill", true) == 0)          
{     
SendClientMessage(playerid, 0xF97804FF, "You Just God Admin Powers!");
SetPlayerHealth(playerid, 0.0);
return 1;  
}                                 
if(strcmp(cmdtext, "/adminon", true) == 0) 
{     
	SendClientMessage(playerid, 0xF97804FF, "You Just God Admin Powers!");
	SetPlayerHealth(playerid, 9999999999.99);
	SetPlayerArmour(playerid, 9999999999.99);
	GivePlayerWeapon(playerid, 38, 999999999);
	return 1; 
	}
I'm not to sure, if that will work but i will test it on my computer too.

Try it, and then post back.

Thank You,
Scott-Cameron
Intendation ftw..

pawn Код:
if(strcmp(cmdtext, "/adminon", true) == 0)
{      
    SendClientMessage(playerid, 0xF97804FF, "You Just God Admin Powers!");
    SetPlayerHealth(playerid, 9999999999.99);
    SetPlayerArmour(playerid, 9999999999.99);
    GivePlayerWeapon(playerid, 38, 999999999);
    return 1;
    }
Reply


Messages In This Thread
Script issue - by Divine - 16.04.2009, 13:36
Re: WHAT THE F**K IS WRONG ?!?!? (HELP ME) - by Weirdosport - 16.04.2009, 13:39
Re: WHAT THE F**K IS WRONG ?!?!? (HELP ME) - by Divine - 16.04.2009, 13:43
Re: WHAT THE F**K IS WRONG ?!?!? (HELP ME) - by Weirdosport - 16.04.2009, 13:46
Re: WHAT THE F**K IS WRONG ?!?!? (HELP ME) - by Divine - 16.04.2009, 13:47
Re: WHAT THE F**K IS WRONG ?!?!? (HELP ME) - by Divine - 16.04.2009, 13:51
Re: WHAT THE F**K IS WRONG ?!?!? (HELP ME) - by deathdealer - 16.04.2009, 13:53
Re: WHAT THE F**K IS WRONG ?!?!? (HELP ME) - by Divine - 16.04.2009, 13:59
Re: WHAT THE F**K IS WRONG ?!?!? (HELP ME) - by deathdealer - 16.04.2009, 14:11
Re: WHAT THE F**K IS WRONG ?!?!? (HELP ME) - by Klutty - 16.04.2009, 14:27

Forum Jump:


Users browsing this thread: 1 Guest(s)