Jump to content
Sign in to follow this  
SnowM

Cerere FS

Recommended Posts

Salut vreau si eu un FS la OnDialogResponse sa nu imi pice serveru cu %s sau %f etc

 

if(strfind(inputtext,"'") || strfind(inputtext,"'"))
{
for(new i; i < strlen(inputtext); i++)
{
if(strfind(inputtext[i],"%", true) == 0)
{
inputtext[i] = '-';
}
if(strfind(inputtext[i],"'", true) == 0)
{
inputtext[i] = '-';
}
}
SCM(playerid, COLOR_YELLOW2, "Eroare: Nu poti folosi aceste caractere.");

}

 

Daca il compliez in gm imi da mai multe erori...

Share this post


Link to post
Share on other sites
Nu ai cum sa folosesti functia strfind pe un caracter. Acea functie se foloseste pe un sir.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

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.