14.03.2017, 14:26
Quote:
As i pointed out 20min ago in your old thread, you're missing a bracket.
|
Here's more of it.
PHP код:
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(GetPlayerTeam(playerid) == 2)
{
if(PRESSED(KEY_WALK))
{
new Float:x,Float:y,Float:z;
GetPlayerVelocity(playerid,Float:x,Float:y,Float:z);
SetPlayerVelocity(playerid,Float:x,Float:y*1.0,Float:z+0.8* 1.2);
}
}
}
Quote:
Originally Posted by ProBro
Please help me,I do not understand or seem to see where I've done this mistake.
|