Pickup problem
#6

Quote:
Originally Posted by timaoux
Посмотреть сообщение
i want create a pickup outside the map because i created a custom map

but the pickup doesnt appear where i want, it appear on the middle of the map.
Its because you've put in incorrect X, Y, Z of the location you want it to be.

use this cmd to get the floats

PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/pos"cmdtexttrue) == 0)
    {
        new 
string1[256];
        new 
Float:X,Float:Y,Float:Z;
        
GetPlayerPos(playerid,X,Y,Z);
        
format(string1,sizeof(string1),"Position = X: %.0f , Y: %.0f , Z: %.0f",X,Y,Z);
        
SendClientMessage(playerid,COLOR_GREEN,string1);
        return 
1;
    } 
And insert em in your CreatePickup native.

unless you went higher than about 2900.
Reply


Messages In This Thread
Pickup problem - by timaoux - 12.11.2011, 19:34
Re: Pickup problem - by =WoR=G4M3Ov3r - 12.11.2011, 19:36
Re : Pickup problem - by timaoux - 12.11.2011, 19:38
Re: Pickup problem - by Pharrel - 12.11.2011, 19:45
Re : Pickup problem - by timaoux - 12.11.2011, 19:45
Re: Re : Pickup problem - by =WoR=G4M3Ov3r - 12.11.2011, 19:46

Forum Jump:


Users browsing this thread: 2 Guest(s)