05.02.2009, 20:27
Hi Community,
I somebody to help me.
This function won't work, but i dont know why
Function:
- Regards, MikeX
I somebody to help me.
This function won't work, but i dont know why
Function:
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == KEY_SUBMISSION)
{
switch (gPlayerClass[playerid])
{
case 0: // Team 1
{
if(PlayerToPoint(20.0, playerid, 247.0646,1859.7402,14.0840))
{
ShowMenuForPlayer(wmenu, playerid);
}
}
case 1: // Team 2
{
if(PlayerToPoint(20.0, playerid, -8.9192,1675.0691,17.5219))
{
ShowMenuForPlayer(wmenu, playerid);
}
}
}
}
return 1;
}