Jump to content
  • 0

Question

Posted

C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3106) : error 004: function "PlayerToPoint" is not implemented
C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3110) : error 004: function "PlayerToPoint" is not implemented
C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3122) : error 004: function "PlayerToPoint" is not implemented
C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3126) : error 004: function "PlayerToPoint" is not implemented
C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3130) : error 004: function "PlayerToPoint" is not implemented
C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3134) : error 004: function "PlayerToPoint" is not implemented
C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3138) : error 004: function "PlayerToPoint" is not implemented
C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3142) : error 004: function "PlayerToPoint" is not implemented
C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3146) : error 004: function "PlayerToPoint" is not implemented
C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3158) : error 004: function "PlayerToPoint" is not implemented
C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3162) : error 004: function "PlayerToPoint" is not implemented
C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3166) : error 004: function "PlayerToPoint" is not implemented
C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3170) : error 004: function "PlayerToPoint" is not implemented
C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3174) : error 004: function "PlayerToPoint" is not implemented
C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3186) : error 004: function "PlayerToPoint" is not implemented
C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3190) : error 004: function "PlayerToPoint" is not implemented
C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3194) : error 004: function "PlayerToPoint" is not implemented
C:\Users\cr3azy\Desktop\gta.furios.ro\gamemodes\Godfather.pwn(3206) : error 004: function "PlayerToPoint" is not implemented
imi apare asa knd am bagat /withdraw
if(strcmp(cmd, "/withdraw", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerToPoint(25.0,playerid,498.0127,-1475.5543,19.0361)
    {
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /withdraw [amount]");
    format(string, sizeof(string), "  You Have $%d in your account.", PlayerInfo[playerid][pAccount]);
    SendClientMessage(playerid, COLOR_GRAD3, string);
    return 1;
    }

2 answers to this question

Recommended Posts

Posted

[pawn]PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)

{

new Float:oldposx, Float:oldposy, Float:oldposz;

new Float:tempposx, Float:tempposy, Float:tempposz;

GetPlayerPos(playerid, oldposx, oldposy, oldposz);

tempposx = (oldposx -x);

tempposy = (oldposy -y);

tempposz = (oldposz -z);

if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))

{

return 1;

}

return 0;

}[/pawn]

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.