Possibe?
#6

Quote:
Originally Posted by pds2k12
Посмотреть сообщение
Do you have #include <a_samp on top?
Yes.

EDIT:

also when i'm using:
Quote:

public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
{
if( weaponid == 41)//This function gets the player weapon id.
{
return SendClientMessage(playerid, -1, "You have been attacked by a spraycan"), SendClientMessage(issuerid, -1, "You attacked someone using a spraycan");
}
return true;
}

as

Quote:

public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
{
new String[ 128 ]
if( weaponid == 41)
{
format(String, sizeof(String), "{AA3333}AdmWarning{FFFF00}: %s (ID %d) may possibly Rush Tazed (%s).", GetPlayerNameEx(issuerid), playerid);
ABroadCast(COLOR_YELLOW, String, 2);
}
return true;
}

i don't know why that gives me a warning " error 001: expected token: ";", but found "if" "
Reply


Messages In This Thread
Possibe? - by BarFix - 21.12.2013, 12:13
Re: Possibe? - by Voxel - 21.12.2013, 12:25
Re: Possibe? - by Patrick - 21.12.2013, 12:26
Re: Possibe? - by BarFix - 21.12.2013, 12:53
Re: Possibe? - by Patrick - 21.12.2013, 12:55
Re: Possibe? - by BarFix - 21.12.2013, 13:09
Re: Possibe? - by Babul - 21.12.2013, 14:47
Re: Possibe? - by SilentSoul - 21.12.2013, 14:49

Forum Jump:


Users browsing this thread: 2 Guest(s)