06.07.2012, 19:13
pawn Код:
// Inнcio
new pickup;
// OnGameMode/OnFilterScriptInit
pickup = CreatePickup(...);
// OnPlayerKeyStateChange
if(newkeys == 16)
{
if(IsPlayerInRangeOfPoint(distancia, coords pickups))
{
SetPlayerInterior(...);
SetPlayerPos(...);
}
}