SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 11/01/2019, 07:14 PM   #1
XzSmokezX
Little Clucker
 
Join Date: Jan 2018
Posts: 1
Reputation: 0
Default Ajuda Com A Função: number of arguments does not

Alguem pode me ajudar? Estou com um problema na minha GM que eu tento inserir um valor pegando as estrelas de procurado do player e multiplicando por 2500, compila deboa mas fica com warning na GM e insere um valor totalmente aleatório no game, segue abaixo os erros e scripts.


new procurado;
procurado = GetPlayerWantedLevel(playerid);
SendClientMessage(playerid,Verde,"*{87CEEB} Você pagará RS%f para limpar sua ficha!", 2500*procurado);

e dá esse warning quando compila

warning 202: number of arguments does not match definition

OBS: peguem leve, sou iniciante em pwn, grato a qualquer ajuda!
XzSmokezX is offline   Reply With Quote
Old 11/01/2019, 07:41 PM   #2
Amads
Big Clucker
 
Amads's Avatar
 
Join Date: Feb 2012
Location: Poland
Posts: 198
Reputation: 40
Default Re: Ajuda Com A Função: number of arguments does not

Are you lost?
Here you go: https://forum.sa-mp.com/forumdisplay.php?f=34

nonetheless,
PHP Code:
new procurado GetPlayerWantedLevel(playerid);
new 
str[128]; // you need to create and format a string for that
format(strsizeof(str), "*{87CEEB} Você pagará RS%f para limpar sua ficha!"2500*procurado);
SendClientMessage(playeridVerdestr); 
Amads is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[AJUDA] warning 202: number of arguments does not match definition iD4N0N3_.x[X]x Scripting Help 2 16/03/2014 06:31 PM
[Ajuda] Ajuda erro [warning 202: number of arguments does not match definition ] maluco88 Português/Portuguese 3 31/08/2012 08:29 PM
[Ajuda] warning 202: number of arguments does not match definition Kurt Cobain Português/Portuguese 6 20/08/2012 06:01 AM
[Ajuda]warning 202: number of arguments does not match definition F_Cinco Português/Portuguese 2 09/06/2012 03:38 AM
[AJUDA] warning 202: number of arguments does not match definition Skun Fly Português/Portuguese 3 26/03/2012 04:05 PM


All times are GMT. The time now is 09:39 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.