04.11.2012, 17:54
Parte do Warning:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
//---------------PORTAO DO CATIVEIRO----------//
{
if ((newkeys==KEY_CTRL_BACK))
{
OnPlayerCommandText(playerid,"/portaocativeiro");
}
return 1;
}
//----------------ENTRAR INTERIOR HQ--------------//
if ((newkeys==KEY_SECONDARY_ATTACK))
{
OnPlayerCommandText(playerid,"/entrarsub");
OnPlayerCommandText(playerid,"/sairsub");
return true;
}
return 1;
}
Como Resolver o problema?
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
//---------------PORTAO DO CATIVEIRO----------//
{
if ((newkeys==KEY_CTRL_BACK))
{
OnPlayerCommandText(playerid,"/portaocativeiro");
}
return 1;
}
//----------------ENTRAR INTERIOR HQ--------------//
if ((newkeys==KEY_SECONDARY_ATTACK))
{
OnPlayerCommandText(playerid,"/entrarsub");
OnPlayerCommandText(playerid,"/sairsub");
return true;
}
return 1;
}
Como Resolver o problema?